[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-1089-g4ce0bf7

Jeremy Allison jra at samba.org
Fri Jan 4 22:57:39 GMT 2008


The branch, v3-2-test has been updated
       via  4ce0bf785635371e2923217b1e0b7f30986c25bb (commit)
      from  f5b6b6dac66b4ecc113985a7e7db1855b324c465 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 4ce0bf785635371e2923217b1e0b7f30986c25bb
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Jan 4 14:56:56 2008 -0800

    Fix idle client reading keepalive.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/client/client.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/client/client.c b/source/client/client.c
index fbcfa53..d10e632 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -4333,7 +4333,7 @@ static void readline_callback(void)
 	   session keepalives and then drop them here.
 	*/
 	if (FD_ISSET(cli->fd,&fds)) {
-		if (!receive_smb_raw(cli->fd,cli->inbuf,0,0,&cli->smb_rw_error)) {
+		if (receive_smb_raw(cli->fd,cli->inbuf,0,0,&cli->smb_rw_error) == -1) {
 			DEBUG(0, ("Read from server failed, maybe it closed the "
 				"connection\n"));
 			return;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list