libcli/smb: Fix smb2cli_write_recv() and smb2cli_write() to return the bytes written.
authorJeremy Allison <jra@samba.org>
Wed, 7 Aug 2013 21:41:24 +0000 (14:41 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 30 Aug 2013 09:53:22 +0000 (11:53 +0200)
commit05265666cf98c5a5e8d5302cbb2a636c966f5734
tree99d9c31459835d9e45ae902d05e5c24e04781a9a
parent801bcd084f3f3ed91668d95e9c1228e16b0b5691
libcli/smb: Fix smb2cli_write_recv() and smb2cli_write() to return the bytes written.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 00f784ec91d2cfa95b20327ac20f5bc3fa1f400e)
libcli/smb/smb2cli_write.c
libcli/smb/smbXcli_base.h
source3/libsmb/cli_np_tstream.c
source3/torture/test_smb2.c