git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9959fc9
)
lib: unix_dgram_msg does not need "num_fds"
author
Volker Lendecke
<vl@samba.org>
Tue, 30 Dec 2014 11:26:16 +0000
(12:26 +0100)
committer
Jeremy Allison
<jra@samba.org>
Mon, 5 Jan 2015 23:33:09 +0000
(
00:33
+0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/unix_msg/unix_msg.c
patch
|
blob
|
history
diff --git
a/source3/lib/unix_msg/unix_msg.c
b/source3/lib/unix_msg/unix_msg.c
index 78b29c2d071ce22b0d6a3f8e2f25d2693f7bd9ce..d85cde9fb3ffe7664b1f4cbd9dae4e7a6c490577 100644
(file)
--- a/
source3/lib/unix_msg/unix_msg.c
+++ b/
source3/lib/unix_msg/unix_msg.c
@@
-43,7
+43,6
@@
struct unix_dgram_msg {
int sock;
ssize_t sent;
int sys_errno;
- size_t num_fds;
struct msghdr msg;
struct iovec iov;
};
@@
-539,7
+538,6
@@
static int queue_msg(struct unix_dgram_send_queue *q,
}
msg->sock = q->sock;
- msg->num_fds = num_fds;
data_buf = (uint8_t *)(msg + 1);