mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r23148: Fix old old bug in cli_smbwrite() (not incrementing
data being sent). Patch from mnix@wanm.com.au.
Jeremy.
(This used to be commit 2524d85465
)
This commit is contained in:
parent
ad5ff1b809
commit
4d6caa09e2
@ -443,7 +443,7 @@ ssize_t cli_smbwrite(struct cli_state *cli,
|
||||
p = smb_buf(cli->outbuf);
|
||||
*p++ = 1;
|
||||
SSVAL(p, 0, size); p += 2;
|
||||
memcpy(p, buf, size); p += size;
|
||||
memcpy(p, buf + total, size); p += size;
|
||||
|
||||
cli_setup_bcc(cli, p);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user