diff options
author | Jeremy Allison <jra@samba.org> | 2004-09-17 00:53:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:41 -0500 |
commit | 40a89ce884de9de9cd013864e03a73b9c44ebde7 (patch) | |
tree | baeb7c383182c3cad25e5595cfbf0dec4693bb6c | |
parent | 41b37207139b3cbfa293a84ab92113db8007afed (diff) | |
download | samba-40a89ce884de9de9cd013864e03a73b9c44ebde7.tar.gz samba-40a89ce884de9de9cd013864e03a73b9c44ebde7.tar.bz2 samba-40a89ce884de9de9cd013864e03a73b9c44ebde7.zip |
r2373: Fix typo.
Jeremy.
(This used to be commit b1033fc77c97f0d9b5613a0b9f7d45dcf58e6b56)
-rw-r--r-- | source3/libsmb/clireadwrite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c index 60ac89aeb2..3f14e53094 100644 --- a/source3/libsmb/clireadwrite.c +++ b/source3/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) { |