mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
passdb: Avoid a "ret == true"
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Mar 2 01:04:14 CET 2016 on sn-devel-144
This commit is contained in:
parent
bebd35f439
commit
6af7ebf336
@ -1219,7 +1219,7 @@ bool pdb_id_to_sid(struct unixid *id, struct dom_sid *sid)
|
||||
|
||||
ret = pdb->id_to_sid(pdb, id, sid);
|
||||
|
||||
if (ret == true) {
|
||||
if (ret) {
|
||||
idmap_cache_set_sid2unixid(sid, id);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user