mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
lib: Fix bug 12291
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12291 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Günther Deschner <gd@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Sep 28 19:01:02 CEST 2016 on sn-devel-144
This commit is contained in:
parent
f1c8786e11
commit
f92590d10a
@ -205,7 +205,7 @@ ssize_t msghdr_copy(struct msghdr_buf *msg, size_t msgsize,
|
||||
msgsize - offsetof(struct msghdr_buf, buf) : 0;
|
||||
|
||||
if (msg != NULL) {
|
||||
msg->msg = (struct msghdr) {};
|
||||
msg->msg = (struct msghdr) { 0 };
|
||||
|
||||
fd_len = msghdr_prep_fds(&msg->msg, msg->buf, bufsize,
|
||||
fds, num_fds);
|
||||
|
Loading…
Reference in New Issue
Block a user