summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-12-20 01:07:09 +0000
committerTim Potter <tpot@samba.org>2002-12-20 01:07:09 +0000
commit45a6532727888c710d537c6e1e03466af2a87881 (patch)
treee87f759108621b72a822d34cbfce4b49c1ff4ab4 /source3
parent574c676c94eb3c9eb3b96e94a17bc4313eee7754 (diff)
downloadsamba-45a6532727888c710d537c6e1e03466af2a87881.tar.gz
samba-45a6532727888c710d537c6e1e03466af2a87881.tar.bz2
samba-45a6532727888c710d537c6e1e03466af2a87881.zip
Fixed bug in debug statement when tconX fails.
(This used to be commit a2159610b9d38cc7cfa7cb877ccee816cd2206b8)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/cliconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 584ad15174..b758af41c4 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1258,8 +1258,8 @@ again:
if (service) {
if (!cli_send_tconX(cli, service, service_type,
password, strlen(password)+1)) {
- DEBUG(1,("failed tcon_X with %s\n", nt_errstr(nt_status)));
nt_status = cli_nt_error(cli);
+ DEBUG(1,("failed tcon_X with %s\n", nt_errstr(nt_status)));
cli_shutdown(cli);
if (NT_STATUS_IS_OK(nt_status)) {
nt_status = NT_STATUS_UNSUCCESSFUL;