Try to fix the build. There was one forgotten caller
authorMichael Adam <obnox@samba.org>
Tue, 6 Nov 2007 00:06:06 +0000 (01:06 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 6 Nov 2007 00:10:04 +0000 (01:10 +0100)
of receive_smb. Jeremy: please check!

Michael
(This used to be commit 1f0fcc3e4ef7526cbf0a5a5fc96708238d0efdeb)

source3/utils/smbfilter.c

index 706b24a57750eb72317993ba05e9aa0464e0772e..4bbf3a8db06dc1984707c70d980986f9030444ce 100644 (file)
@@ -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);
                        }