summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-07-23 22:32:49 +0200
committerStefan Metzmacher <metze@samba.org>2012-07-24 22:20:06 +0200
commit74f9b52e659265c7a6283550d226f0cec5e8fb18 (patch)
treedc7b6cfec11071dbb9a18200ee25d4b6f58873c9 /source3/libsmb
parent32b33999dbc5c73f5efd04e3ae0ab5a0b13c7cc2 (diff)
downloadsamba-74f9b52e659265c7a6283550d226f0cec5e8fb18.tar.gz
samba-74f9b52e659265c7a6283550d226f0cec5e8fb18.tar.bz2
samba-74f9b52e659265c7a6283550d226f0cec5e8fb18.zip
libcli/smb: pass smbXcli_tcon to smb2cli_close*()
metze
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cli_np_tstream.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/libsmb/cli_np_tstream.c b/source3/libsmb/cli_np_tstream.c
index 7482f9da62..47333868dc 100644
--- a/source3/libsmb/cli_np_tstream.c
+++ b/source3/libsmb/cli_np_tstream.c
@@ -99,7 +99,8 @@ static int tstream_cli_np_destructor(struct tstream_cli_np *cli_nps)
status = smb2cli_close(cli_nps->cli->conn,
cli_nps->cli->timeout,
cli_nps->cli->smb2.session,
- cli_nps->cli->smb2.tid, 0,
+ cli_nps->cli->smb2.tcon,
+ 0, /* flags */
cli_nps->fid_persistent,
cli_nps->fid_volatile);
}
@@ -574,7 +575,7 @@ static void tstream_cli_np_writev_disconnect_now(struct tevent_req *req,
cli_nps->cli->conn,
cli_nps->cli->timeout,
cli_nps->cli->smb2.session,
- cli_nps->cli->smb2.tid,
+ cli_nps->cli->smb2.tcon,
0, /* flags */
cli_nps->fid_persistent,
cli_nps->fid_volatile);
@@ -1036,7 +1037,7 @@ static void tstream_cli_np_readv_disconnect_now(struct tevent_req *req,
cli_nps->cli->conn,
cli_nps->cli->timeout,
cli_nps->cli->smb2.session,
- cli_nps->cli->smb2.tid,
+ cli_nps->cli->smb2.tcon,
0, /* flags */
cli_nps->fid_persistent,
cli_nps->fid_volatile);
@@ -1172,7 +1173,7 @@ static struct tevent_req *tstream_cli_np_disconnect_send(TALLOC_CTX *mem_ctx,
subreq = smb2cli_close_send(state, ev, cli_nps->cli->conn,
cli_nps->cli->timeout,
cli_nps->cli->smb2.session,
- cli_nps->cli->smb2.tid,
+ cli_nps->cli->smb2.tcon,
0, /* flags */
cli_nps->fid_persistent,
cli_nps->fid_volatile);