s3:libsmb: consistently use state->size in cli_write_andx_create() (bug #5326)
authorStefan Metzmacher <metze@samba.org>
Fri, 11 Nov 2011 01:10:00 +0000 (02:10 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 16 Nov 2011 19:34:05 +0000 (20:34 +0100)
commitb5e1b792366dc769389353cdbb63466f6867efb0
treec16efa64c16d08af24ce3c000d75c9a3f7c38d47
parent2ce6d51713bb47059814c720307f337fd380fc1c
s3:libsmb: consistently use state->size in cli_write_andx_create() (bug #5326)

Otherwise we may get unexpected results.

This is a fix that was missing in commit 95595dd93fd04999fcf56ecaab7c29b064d021f8
(s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326))

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Nov  9 10:13:32 CET 2011 on sn-devel-104
(cherry picked from commit 4b31c4273c45faa639445614061f3da548eb8505)
source3/libsmb/clireadwrite.c