diff options
author | Jeremy Allison <jra@samba.org> | 2002-03-20 01:47:31 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-03-20 01:47:31 +0000 |
commit | a1249aca906e9624edada1b4e9c654b568897dce (patch) | |
tree | ab0c1db602bb2a1bba0b37ee54b67f1ffba5aa47 /source3/libsmb | |
parent | 6586062d1a803952d671f145de9373b08721dbb9 (diff) | |
download | samba-a1249aca906e9624edada1b4e9c654b568897dce.tar.gz samba-a1249aca906e9624edada1b4e9c654b568897dce.tar.bz2 samba-a1249aca906e9624edada1b4e9c654b568897dce.zip |
Correctly increment offset in cli_smbwrite.
Jeremy.
(This used to be commit 5b04b5f1df3ee509e7314064966be09e2202b0ef)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clireadwrite.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c index 402de726e8..0a9569fc69 100644 --- a/source3/libsmb/clireadwrite.c +++ b/source3/libsmb/clireadwrite.c @@ -366,6 +366,8 @@ ssize_t cli_smbwrite(struct cli_state *cli, size1 -= size; total += size; + offset += size; + } while (size1); return total; |