projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
390549f
)
Ref the right type in g_socket_control_message_deserialize
author
Alexander Larsson
<alexl@redhat.com>
Thu, 28 May 2009 13:34:07 +0000
(15:34 +0200)
committer
Alexander Larsson
<alexl@redhat.com>
Thu, 28 May 2009 13:34:57 +0000
(15:34 +0200)
We were not looking at the right type at all due to a typo.
gio/gsocketcontrolmessage.c
patch
|
blob
|
history
diff --git
a/gio/gsocketcontrolmessage.c
b/gio/gsocketcontrolmessage.c
index
2a384a7
..
4400d00
100644
(file)
--- a/
gio/gsocketcontrolmessage.c
+++ b/
gio/gsocketcontrolmessage.c
@@
-195,7
+195,7
@@
g_socket_control_message_deserialize (int level,
message = NULL;
for (i = 0; i < n_message_types; i++)
{
- klass = (GSocketControlMessageClass *)g_type_class_ref (
type
);
+ klass = (GSocketControlMessageClass *)g_type_class_ref (
message_types[i]
);
if (klass && klass->deserialize)
{