From: Jeremy Allison Date: Fri, 17 Sep 2004 00:53:17 +0000 (+0000) Subject: r2373: Fix typo. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5798 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b1033fc77c97f0d9b5613a0b9f7d45dcf58e6b56;p=thirdparty%2Fsamba.git r2373: Fix typo. Jeremy. --- diff --git a/source/libsmb/clireadwrite.c b/source/libsmb/clireadwrite.c index 60ac89aeb2a..3f14e530943 100644 --- a/source/libsmb/clireadwrite.c +++ b/source/libsmb/clireadwrite.c @@ -329,10 +329,10 @@ ssize_t cli_write(struct cli_state *cli, int block = cli->max_xmit - (smb_size+32); int blocks = (size + (block-1)) / block; - if(cli->max_mux == 0) { - mpx = 1; - } else { + if(cli->max_mux > 1) { mpx = cli->max_mux-1; + } else { + mpx = 1; } while (received < blocks) {