summaryrefslogtreecommitdiff
path: root/source3/libsmb/cli_np_tstream.c
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-10 18:36:47 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-12 00:46:09 +0200
commit5f4a009f4fe366ed13c1c681595ae95554643768 (patch)
tree4e409db82eabd385dca5ec313da171e3b3602f64 /source3/libsmb/cli_np_tstream.c
parent473363a8078fca8ba7dbbdf310d984167cf92bf4 (diff)
downloadsamba-5f4a009f4fe366ed13c1c681595ae95554643768.tar.gz
samba-5f4a009f4fe366ed13c1c681595ae95554643768.tar.bz2
samba-5f4a009f4fe366ed13c1c681595ae95554643768.zip
s3/libsmb: Generalise cli_state in smb2 ioctl 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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/libsmb/cli_np_tstream.c b/source3/libsmb/cli_np_tstream.c
index 612a2c3fb2..9bf5611d96 100644
--- a/source3/libsmb/cli_np_tstream.c
+++ b/source3/libsmb/cli_np_tstream.c
@@ -808,7 +808,10 @@ static void tstream_cli_np_readv_trans_start(struct tevent_req *req)
cli_nps->write.ofs);
subreq = smb2cli_ioctl_send(state, state->ev,
- cli_nps->cli,
+ cli_nps->cli->conn,
+ cli_nps->cli->timeout,
+ cli_nps->cli->smb2.session,
+ cli_nps->cli->smb2.tid,
cli_nps->fid_persistent,
cli_nps->fid_volatile,
FSCTL_NAMED_PIPE_READ_WRITE,