summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-08-14 11:44:10 +0200
committerStefan Metzmacher <metze@samba.org>2013-08-15 09:07:07 +0200
commitd732e9aab3bbad3ea97f8b120e57b41152aaee3b (patch)
tree617aa8958870303164aa0f87acb771de8298536f /source3
parent80d4f64352c0ddacb9ee15d2b48a42a0b7929501 (diff)
downloadsamba-d732e9aab3bbad3ea97f8b120e57b41152aaee3b.tar.gz
samba-d732e9aab3bbad3ea97f8b120e57b41152aaee3b.tar.bz2
samba-d732e9aab3bbad3ea97f8b120e57b41152aaee3b.zip
s3:libsmb: only set tcon to invalid in smb2cli_tdis*
This matches the behavior of cli_tdis*. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/smb2cli_tcon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/smb2cli_tcon.c b/source3/libsmb/smb2cli_tcon.c
index b3136fac91..2467ce5821 100644
--- a/source3/libsmb/smb2cli_tcon.c
+++ b/source3/libsmb/smb2cli_tcon.c
@@ -243,7 +243,8 @@ static void smb2cli_tdis_done(struct tevent_req *subreq)
if (tevent_req_nterror(req, status)) {
return;
}
- TALLOC_FREE(state->cli->smb2.tcon);
+ smb2cli_tcon_set_values(state->cli->smb2.tcon, NULL,
+ UINT32_MAX, 0, 0, 0, 0);
tevent_req_done(req);
}