mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
samr: Avoid a "ret == false" for a bool
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
c6d9cb9b11
commit
4f3a6dc8b0
@ -1218,7 +1218,7 @@ NTSTATUS pass_oem_change(char *user, const char *rhost,
|
||||
ret = pdb_getsampwnam(sampass, user);
|
||||
unbecome_root();
|
||||
|
||||
if (ret == false) {
|
||||
if (!ret) {
|
||||
DEBUG(0,("pass_oem_change: getsmbpwnam returned NULL\n"));
|
||||
nt_status = NT_STATUS_NO_SUCH_USER;
|
||||
goto done;
|
||||
|
Loading…
x
Reference in New Issue
Block a user