summaryrefslogtreecommitdiff
path: root/gio/gunixfdmessage.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/gunixfdmessage.c')
-rw-r--r--gio/gunixfdmessage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gunixfdmessage.c b/gio/gunixfdmessage.c
index 9ca497ebd..bb37d5f59 100644
--- a/gio/gunixfdmessage.c
+++ b/gio/gunixfdmessage.c
@@ -84,7 +84,7 @@ g_unix_fd_message_deserialize (int level,
gint *fds;
if (level != SOL_SOCKET ||
- level != SCM_RIGHTS)
+ type != SCM_RIGHTS)
return NULL;
if (size % 4 > 0)