patch for receive_smb

Martin Pool mbp at samba.org
Tue Jan 29 22:45:02 GMT 2002


Is this reasonable?  It looks like this line was missing.

*** util_sock.c.~1.16.2.3.~	Wed Jan 30 14:28:14 2002
--- util_sock.c	Wed Jan 30 17:36:54 2002
***************
*** 649,655 ****
  	len = read_smb_length_return_keepalive(fd,buffer,timeout);
  	if (len < 0) {
  		DEBUG(10,("receive_smb: length < 0!\n"));
! 		return(False);
  	}
  
  	/*
--- 649,656 ----
  	len = read_smb_length_return_keepalive(fd,buffer,timeout);
  	if (len < 0) {
  		DEBUG(10,("receive_smb: length < 0!\n"));
! 		smb_read_error = READ_ERROR;
! 		return False;
  	}
  
  	/*


-- 
Martin 




More information about the samba-technical mailing list