summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-08-10 06:46:11 +0000
committerTim Potter <tpot@samba.org>2001-08-10 06:46:11 +0000
commitea43baeeb01dd302f3c5bfecb5d642228b029c3c (patch)
tree270a7e32326df820c52de3c6a107b9d1685179cd
parentafbca61a28896696259911a087e0a002903c1399 (diff)
downloadsamba-ea43baeeb01dd302f3c5bfecb5d642228b029c3c.tar.gz
samba-ea43baeeb01dd302f3c5bfecb5d642228b029c3c.tar.bz2
samba-ea43baeeb01dd302f3c5bfecb5d642228b029c3c.zip
Had the test for cli_is_error() reversed. You idiot Stimpy!
(This used to be commit e9ceb17d777f4bcb7a9ff6b509c178f063be4722)
-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 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 */