lib: unix_dgram_msg does not need "num_fds"
authorVolker Lendecke <vl@samba.org>
Tue, 30 Dec 2014 11:26:16 +0000 (12:26 +0100)
committerJeremy 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

index 78b29c2d071ce22b0d6a3f8e2f25d2693f7bd9ce..d85cde9fb3ffe7664b1f4cbd9dae4e7a6c490577 100644 (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);