From ea43baeeb01dd302f3c5bfecb5d642228b029c3c Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 10 Aug 2001 06:46:11 +0000 Subject: Had the test for cli_is_error() reversed. You idiot Stimpy! (This used to be commit e9ceb17d777f4bcb7a9ff6b509c178f063be4722) --- source3/libsmb/clierror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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 */ -- cgit