summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-08-07 15:01:50 -0700
committerStefan Metzmacher <metze@samba.org>2013-08-15 09:07:06 +0200
commit1229881df6bd22d4b5055ad283061332ba1c9bc8 (patch)
tree057f27ed5fd23898ba5a71847a575320a8fd0c6b /source3/libsmb
parent00f784ec91d2cfa95b20327ac20f5bc3fa1f400e (diff)
downloadsamba-1229881df6bd22d4b5055ad283061332ba1c9bc8.tar.gz
samba-1229881df6bd22d4b5055ad283061332ba1c9bc8.tar.bz2
samba-1229881df6bd22d4b5055ad283061332ba1c9bc8.zip
libcli/smb: Change smb2cli_create() and smb2cli_create_recv() to return a parameter blob of the newly opened/created file.
Will use in the smb2 client code. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cli_np_tstream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/cli_np_tstream.c b/source3/libsmb/cli_np_tstream.c
index 07835a5bc2..f3a9962f82 100644
--- a/source3/libsmb/cli_np_tstream.c
+++ b/source3/libsmb/cli_np_tstream.c
@@ -208,7 +208,8 @@ static void tstream_cli_np_open_done(struct tevent_req *subreq)
} else {
status = smb2cli_create_recv(subreq,
&state->fid_persistent,
- &state->fid_volatile);
+ &state->fid_volatile,
+ NULL);
}
TALLOC_FREE(subreq);
if (!NT_STATUS_IS_OK(status)) {