Ref the right type in g_socket_control_message_deserialize

We were not looking at the right type at all due to a typo.
This commit is contained in:
Alexander Larsson 2009-05-28 15:34:07 +02:00
parent 390549f6c4
commit d32226da6d

View File

@ -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)
{