blob: b81a6e282aa88f05a6b124fb3b22bc4e3cea2417 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- gio/gunixcredentialsmessage.c.orig 2011-09-25 11:42:09.000000000 -0400
+++ gio/gunixcredentialsmessage.c 2011-09-25 11:42:22.000000000 -0400
@@ -162,11 +162,11 @@ g_unix_credentials_message_deserialize (
{
goto out;
}
- if (size < CMSG_LEN (sizeof *cred))
+ if (size < sizeof *cred)
{
g_warning ("Expected a struct cmsgcred (%" G_GSIZE_FORMAT " bytes) but "
"got %" G_GSIZE_FORMAT " bytes of data",
- CMSG_LEN (sizeof *cred),
+ sizeof *cred,
size);
goto out;
}
|