summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2011-11-16 16:37:24 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-16 19:02:12 +0100
commit6003debf7e0df7b61df03d2b55551715180329c4 (patch)
tree04a96c693085eb4cae3db3f8960db390971a0ded
parentc64ebcf64322f6b98e0e17076da8d63f6f79c114 (diff)
downloadsamba-6003debf7e0df7b61df03d2b55551715180329c4.tar.gz
samba-6003debf7e0df7b61df03d2b55551715180329c4.tar.bz2
samba-6003debf7e0df7b61df03d2b55551715180329c4.zip
s3-libsmb/clidfs.c: remove cli_nt_error()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/libsmb/clidfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index b066b8bd12..4d0e97a9b5 100644
--- 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;