svn commit: samba r2373 - in branches/SAMBA_3_0/source/libsmb: .

jra at samba.org jra at samba.org
Fri Sep 17 00:53:17 GMT 2004


Author: jra
Date: 2004-09-17 00:53:17 +0000 (Fri, 17 Sep 2004)
New Revision: 2373

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/libsmb&rev=2373&nolog=1

Log:
Fix typo.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/libsmb/clireadwrite.c


Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/clireadwrite.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/clireadwrite.c	2004-09-17 00:53:08 UTC (rev 2372)
+++ branches/SAMBA_3_0/source/libsmb/clireadwrite.c	2004-09-17 00:53:17 UTC (rev 2373)
@@ -329,10 +329,10 @@
 	int block = cli->max_xmit - (smb_size+32);
 	int blocks = (size + (block-1)) / block;
 
-	if(cli->max_mux == 0) {
+	if(cli->max_mux > 1) {
+		mpx = cli->max_mux-1;
+	} else {
 		mpx = 1;
-	} else {
-		mpx = cli->max_mux-1;
 	}
 
 	while (received < blocks) {



More information about the samba-cvs mailing list