summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_interface.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2016-03-01 16:57:45 +0100
committerMichael Adam <obnox@samba.org>2016-03-02 01:04:14 +0100
commit6af7ebf3364f274e3ae7d4cd818e51424100b6d4 (patch)
treedea2c33a83cbfb3e279e4d99c96eace36f838473 /source3/passdb/pdb_interface.c
parentbebd35f439229b9363dfc2f4ae5744103ba80740 (diff)
downloadsamba-6af7ebf3364f274e3ae7d4cd818e51424100b6d4.tar.gz
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
Diffstat (limited to 'source3/passdb/pdb_interface.c')
-rw-r--r--source3/passdb/pdb_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index d67e04ec9c4..6b6b1061cbc 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -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);
}