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:
c64ebcf
)
s3-libsmb/clidfs.c: remove cli_nt_error()
author
Björn Baumbach
<bb@sernet.de>
Wed, 16 Nov 2011 15:37:24 +0000
(16:37 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 16 Nov 2011 18:02:12 +0000
(19:02 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/libsmb/clidfs.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clidfs.c
b/source3/libsmb/clidfs.c
index b066b8bd1203a16e5a2d34893483576e42ebd05f..4d0e97a9b5a2ef05363d24e3a420b9091e60ff4b 100644
(file)
--- a/
source3/libsmb/clidfs.c
+++ b/
source3/libsmb/clidfs.c
@@
-173,8
+173,8
@@
static NTSTATUS do_connect(TALLOC_CTX *ctx,
lp_workgroup()))) {
d_printf("session setup failed: %s\n",
nt_errstr(status));
- if (NT_STATUS_
V(cli_nt_error(c)) ==
-
NT_STATUS_V(
NT_STATUS_MORE_PROCESSING_REQUIRED))
+ if (NT_STATUS_
EQUAL(status,
+
NT_STATUS_MORE_PROCESSING_REQUIRED))
d_printf("did you forget to run kinit?\n");
cli_shutdown(c);
return status;