Commit 9b1a9ed4 authored by David Zeuthen's avatar David Zeuthen
Browse files

GSocketControlMessage: Don't warn about unknown messages

If we do this, the tests added in bug 673943 will cause warnings.
Signed-off-by: default avatarDavid Zeuthen <>
parent 55bbb9fc
......@@ -205,8 +205,15 @@ g_socket_control_message_deserialize (int level,
g_free (message_types);
if (message == NULL)
g_warning ("unknown control message type %d:%d", level, type);
/* It's not a bug if we can't deserialize the control message - for
* example, the control message may be be discarded if it is deemed
* empty, see e.g.
* Therefore, it's not appropriate to print a warning about not
* being able to deserialize the message.
return message;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment