diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-01-04 09:01:19 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-01-04 09:01:19 +0000 |
commit | 9de96c6f24cfa58db7a229c2a902406402cdf4f0 (patch) | |
tree | 25715788edcdbba47ecae13841cb617def48de86 /source3/libsmb | |
parent | db972ebb93d52624355191614a180b12a296a1c4 (diff) | |
download | samba-9de96c6f24cfa58db7a229c2a902406402cdf4f0.tar.gz samba-9de96c6f24cfa58db7a229c2a902406402cdf4f0.tar.bz2 samba-9de96c6f24cfa58db7a229c2a902406402cdf4f0.zip |
Merge from HEAD - do an nt_errstr(nt_status) *after* assiging nt_status with
the actual error value :-)
Andrew Bartlett
(This used to be commit 123ae99c7d51c62e9f765cd41018dcc1a70cdd22)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/cliconnect.c | 2 |
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; |