diff options
author | bubulle <bubulle@alioth.debian.org> | 2008-05-28 19:16:34 +0000 |
---|---|---|
committer | bubulle <bubulle@alioth.debian.org> | 2008-05-28 19:16:34 +0000 |
commit | 9c742a9c47eb5741e0b51f0311dbe51308d247d9 (patch) | |
tree | f6a65f3ac16fc49d766dbcc44e199a0b9d244fb0 /source/utils/smbfilter.c | |
parent | 695ee7a6446c9295644e74f44fc37d22e5fceae0 (diff) | |
download | samba-9c742a9c47eb5741e0b51f0311dbe51308d247d9.tar.gz |
Load samba-3.0.30 into branches/samba/upstream.upstream/3.0.30
git-svn-id: svn://svn.debian.org/svn/pkg-samba/branches/samba/upstream@1900 fc4039ab-9d04-0410-8cac-899223bdd6b0
Diffstat (limited to 'source/utils/smbfilter.c')
-rw-r--r-- | source/utils/smbfilter.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |