svn commit: samba r22930 - in branches/SAMBA_3_0/source/libsmb: .
vlendec at samba.org
vlendec at samba.org
Wed May 16 10:59:05 GMT 2007
Author: vlendec
Date: 2007-05-16 10:59:04 +0000 (Wed, 16 May 2007)
New Revision: 22930
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22930
Log:
Next attempt to get the build farm in line.
Jeremy, please check this and merge if appropriate.
Modified:
branches/SAMBA_3_0/source/libsmb/clientgen.c
Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/clientgen.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/clientgen.c 2007-05-16 09:53:41 UTC (rev 22929)
+++ branches/SAMBA_3_0/source/libsmb/clientgen.c 2007-05-16 10:59:04 UTC (rev 22930)
@@ -260,7 +260,8 @@
}
/* Read the rest of the data. */
- if (!cli_receive_smb_data(cli,cli->inbuf+len,total_len - len)) {
+ if ((total_len - len > 0) &&
+ !cli_receive_smb_data(cli,cli->inbuf+len,total_len - len)) {
goto read_err;
}
More information about the samba-cvs
mailing list