diff options
-rw-r--r-- | source3/utils/smbfilter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/smbfilter.c b/source3/utils/smbfilter.c index 706b24a577..4bbf3a8db0 100644 --- a/source3/utils/smbfilter.c +++ b/source3/utils/smbfilter.c @@ -145,7 +145,7 @@ static void filter_child(int c, struct sockaddr_storage *dest_ss) if (num <= 0) continue; if (c != -1 && FD_ISSET(c, &fds)) { - if (!receive_smb(c, packet, 0)) { + if (!receive_smb(c, packet, 0, NULL)) { d_printf("client closed connection\n"); exit(0); } @@ -156,7 +156,7 @@ static void filter_child(int c, struct sockaddr_storage *dest_ss) } } if (s != -1 && FD_ISSET(s, &fds)) { - if (!receive_smb(s, packet, 0)) { + if (!receive_smb(s, packet, 0, NULL)) { d_printf("server closed connection\n"); exit(0); } |