diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clierror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c index c2234e8ead..bb2bbd0dff 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 */ |