bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix a typo


From: Bastien ROUCARIES
Subject: [PATCH] Fix a typo
Date: Mon, 28 Mar 2011 13:41:12 +0200

Fix a typo in passfd code
---
 lib/passfd.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/lib/passfd.c b/lib/passfd.c
index 573b80e..ae716a6 100644
--- a/lib/passfd.c
+++ b/lib/passfd.c
@@ -67,7 +67,6 @@ sendfd (int sock, int fd)
     cmsg->cmsg_len = CMSG_LEN (sizeof (int));
     /* Initialize the payload: */
     memcpy (CMSG_DATA (cmsg), &fd, sizeof (fd));
-    msg.msg_controllen = cmsg->cmsg_len;
 #elif HAVE_UNIXSOCKET_SCM_RIGHTS_BSD43_WAY
     msg.msg_accrights = &fd;
     msg.msg_accrightslen = sizeof (fd);
-- 
1.7.4.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]