git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80d4f64
)
s3:libsmb: only set tcon to invalid in smb2cli_tdis*
author
Stefan Metzmacher
<metze@samba.org>
Wed, 14 Aug 2013 09:44:10 +0000
(11:44 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 15 Aug 2013 07:07:07 +0000
(09:07 +0200)
This matches the behavior of cli_tdis*.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/smb2cli_tcon.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/smb2cli_tcon.c
b/source3/libsmb/smb2cli_tcon.c
index b3136fac91c2c0773b769a243041ffbdceb41651..2467ce58214c8d3c107fbad616e0646d02cd766d 100644
(file)
--- 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);
}