summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/clierror.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/clierror.c')
-rw-r--r--source3/libsmb/clierror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c
index c2234e8eadd..bb2bbd0dfff 100644
--- a/source3/libsmb/clierror.c
+++ b/source3/libsmb/clierror.c
@@ -260,7 +260,7 @@ BOOL cli_is_error(struct cli_state *cli)
else
rcls = CVAL(cli->inbuf, smb_rcls);
- return (rcls == 0);
+ return (rcls != 0);
}
/* Return true if the last error was an NT error */