summaryrefslogtreecommitdiff
path: root/source/client/client.c
diff options
context:
space:
mode:
authorbubulle <bubulle@alioth.debian.org>2008-05-28 19:16:34 +0000
committerbubulle <bubulle@alioth.debian.org>2008-05-28 19:16:34 +0000
commit9c742a9c47eb5741e0b51f0311dbe51308d247d9 (patch)
treef6a65f3ac16fc49d766dbcc44e199a0b9d244fb0 /source/client/client.c
parent695ee7a6446c9295644e74f44fc37d22e5fceae0 (diff)
downloadsamba-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/client/client.c')
-rw-r--r--source/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 3f96f63f90..e87623a59d 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -3626,7 +3626,7 @@ static void readline_callback(void)
session keepalives and then drop them here.
*/
if (FD_ISSET(cli->fd,&fds)) {
- if (!receive_smb(cli->fd,cli->inbuf,0)) {
+ if (!receive_smb(cli->fd,cli->inbuf,cli->bufsize,0)) {
DEBUG(0, ("Read from server failed, maybe it closed the "
"connection\n"));
return;