summaryrefslogtreecommitdiff
path: root/source3/libsmb/cli_np_tstream.c
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-10 18:34:40 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-12 00:45:21 +0200
commit87d890fdd92195acca3e099c3f7b60aea91ac04e (patch)
treeaa4634437342c38fc9f68608a718975a44678c54 /source3/libsmb/cli_np_tstream.c
parentf6db3d7bef750d48079ff56535f48c9923e5f4c8 (diff)
downloadsamba-87d890fdd92195acca3e099c3f7b60aea91ac04e.tar.gz
samba-87d890fdd92195acca3e099c3f7b60aea91ac04e.tar.bz2
samba-87d890fdd92195acca3e099c3f7b60aea91ac04e.zip
s3/libsmb: Generalise cli_state in smb2 create calls
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb/cli_np_tstream.c')
-rw-r--r--source3/libsmb/cli_np_tstream.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/libsmb/cli_np_tstream.c b/source3/libsmb/cli_np_tstream.c
index 07ccccdd76..612a2c3fb2 100644
--- a/source3/libsmb/cli_np_tstream.c
+++ b/source3/libsmb/cli_np_tstream.c
@@ -160,7 +160,9 @@ struct tevent_req *tstream_cli_np_open_send(TALLOC_CTX *mem_ctx,
0,
0);
} else {
- subreq = smb2cli_create_send(state, ev, cli,
+ subreq = smb2cli_create_send(state, ev, cli->conn,
+ cli->timeout, cli->smb2.session,
+ cli->smb2.tid,
npipe,
SMB2_OPLOCK_LEVEL_NONE,
SMB2_IMPERSONATION_IMPERSONATION,