summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-12-28 09:57:29 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-12-28 09:57:29 +0000
commit5dff713735627288d69b55afeb540582a5b33d1a (patch)
treedeea7575b4331dd0cfa282832b053d62265d3503 /source3/libsmb
parentf73492a58aba4239a9e00cc1bfca51362ca6a9b8 (diff)
downloadsamba-5dff713735627288d69b55afeb540582a5b33d1a.tar.gz
samba-5dff713735627288d69b55afeb540582a5b33d1a.tar.bz2
samba-5dff713735627288d69b55afeb540582a5b33d1a.zip
Shutting down the connection closes outstanding sessions, so we don't need
to do it twice... Amdrew Bartlett (This used to be commit 8f9a069c59cbd357cbef8814764c10f6d8b6e6e8)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/trusts_util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/libsmb/trusts_util.c b/source3/libsmb/trusts_util.c
index 2c6eb1b55a..7c1000b9a5 100644
--- a/source3/libsmb/trusts_util.c
+++ b/source3/libsmb/trusts_util.c
@@ -182,7 +182,6 @@ done:
/* cleanup */
if (cli) {
DEBUG(10,("enumerate_domain_trusts: shutting down connection...\n"));
- cli_nt_session_close( cli );
cli_shutdown( cli );
}