From 9c742a9c47eb5741e0b51f0311dbe51308d247d9 Mon Sep 17 00:00:00 2001 From: bubulle Date: Wed, 28 May 2008 19:16:34 +0000 Subject: Load samba-3.0.30 into branches/samba/upstream. git-svn-id: svn://svn.debian.org/svn/pkg-samba/branches/samba/upstream@1900 fc4039ab-9d04-0410-8cac-899223bdd6b0 --- source/utils/smbfilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/utils/smbfilter.c') diff --git a/source/utils/smbfilter.c b/source/utils/smbfilter.c index 97d22230c4..2152e539b0 100644 --- a/source/utils/smbfilter.c +++ b/source/utils/smbfilter.c @@ -140,7 +140,7 @@ static void filter_child(int c, struct in_addr dest_ip) if (num <= 0) continue; if (c != -1 && FD_ISSET(c, &fds)) { - if (!receive_smb(c, packet, 0)) { + if (!receive_smb(c, packet, BUFFER_SIZE, 0)) { d_printf("client closed connection\n"); exit(0); } @@ -151,7 +151,7 @@ static void filter_child(int c, struct in_addr dest_ip) } } if (s != -1 && FD_ISSET(s, &fds)) { - if (!receive_smb(s, packet, 0)) { + if (!receive_smb(s, packet, BUFFER_SIZE, 0)) { d_printf("server closed connection\n"); exit(0); } -- cgit v1.2.3