mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
Had the test for cli_is_error() reversed. You idiot Stimpy!
(This used to be commit e9ceb17d77
)
This commit is contained in:
@ -260,7 +260,7 @@ BOOL cli_is_error(struct cli_state *cli)
|
|||||||
else
|
else
|
||||||
rcls = CVAL(cli->inbuf, smb_rcls);
|
rcls = CVAL(cli->inbuf, smb_rcls);
|
||||||
|
|
||||||
return (rcls == 0);
|
return (rcls != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return true if the last error was an NT error */
|
/* Return true if the last error was an NT error */
|
||||||
|
Reference in New Issue
Block a user