1
0
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:
Volker Lendecke 2016-03-01 16:57:45 +01:00 committed by Michael Adam
parent bebd35f439
commit 6af7ebf336

View File

@ -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);
}