summaryrefslogtreecommitdiff
path: root/source3/libsmb/cli_np_tstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/cli_np_tstream.c')
-rw-r--r--source3/libsmb/cli_np_tstream.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/libsmb/cli_np_tstream.c b/source3/libsmb/cli_np_tstream.c
index 658f30850a..d52997fbdf 100644
--- a/source3/libsmb/cli_np_tstream.c
+++ b/source3/libsmb/cli_np_tstream.c
@@ -742,7 +742,11 @@ static void tstream_cli_np_readv_read_next(struct tevent_req *req)
0, /* offset */
TSTREAM_CLI_NP_MAX_BUF_SIZE);
} else {
- subreq = smb2cli_read_send(state, state->ev, cli_nps->cli,
+ subreq = smb2cli_read_send(state, state->ev,
+ cli_nps->cli->conn,
+ cli_nps->cli->timeout,
+ cli_nps->cli->smb2.session,
+ cli_nps->cli->smb2.tid,
TSTREAM_CLI_NP_MAX_BUF_SIZE, /* length */
0, /* offset */
cli_nps->fid_persistent,