From ea7bfdde7268f0f2ce7d1d381f87caea17472d06 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 6 Nov 2007 01:06:06 +0100 Subject: Try to fix the build. There was one forgotten caller of receive_smb. Jeremy: please check! Michael (This used to be commit 1f0fcc3e4ef7526cbf0a5a5fc96708238d0efdeb) --- source3/utils/smbfilter.c | 4 ++-- 1 file 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); } -- cgit