1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-22 02:50:28 +03:00

lib: unix_dgram_msg does not need "num_fds"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke 2014-12-30 12:26:16 +01:00 committed by Jeremy Allison
parent 9959fc9d72
commit 98598485c3

View File

@ -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);