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/client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/client/client.c') 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; -- cgit v1.2.3