diff options
Diffstat (limited to 'source/client/client.c')
-rw-r--r-- | source/client/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c index 27f120ce9ac..94dc52d9d52 100644 --- a/source/client/client.c +++ b/source/client/client.c @@ -3711,7 +3711,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,0,&cli->smb_rw_error)) { DEBUG(0, ("Read from server failed, maybe it closed the " "connection\n")); return; |