diff options
author | Tim Potter <tpot@samba.org> | 2001-08-10 06:46:11 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-08-10 06:46:11 +0000 |
commit | e9ceb17d777f4bcb7a9ff6b509c178f063be4722 (patch) | |
tree | 6db424d3382d4b3440ad19d2e46cf6eff942750d | |
parent | 9c57e45d443a3cf6215318d1355cac18ff57a8b5 (diff) | |
download | samba-e9ceb17d777f4bcb7a9ff6b509c178f063be4722.tar.gz samba-e9ceb17d777f4bcb7a9ff6b509c178f063be4722.tar.xz samba-e9ceb17d777f4bcb7a9ff6b509c178f063be4722.zip |
Had the test for cli_is_error() reversed. You idiot Stimpy!
-rw-r--r-- | source/libsmb/clierror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/clierror.c b/source/libsmb/clierror.c index c2234e8eadd..bb2bbd0dfff 100644 --- a/source/libsmb/clierror.c +++ b/source/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 */ |