diff options
author | Gerald Carter <jerry@samba.org> | 2003-12-01 19:59:25 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-12-01 19:59:25 +0000 |
commit | 70e2f0944aab041926c9c4a2f24fb0ed28b8565a (patch) | |
tree | 010e65ab35d981e7e7223ce3516bed5b0a03dc10 | |
parent | 951e1aa8512baba7d434bfe5505ba3678a7ebac4 (diff) | |
download | samba-70e2f0944aab041926c9c4a2f24fb0ed28b8565a.tar.gz samba-70e2f0944aab041926c9c4a2f24fb0ed28b8565a.tar.bz2 samba-70e2f0944aab041926c9c4a2f24fb0ed28b8565a.zip |
another strequal() == 0 fix
(This used to be commit 464b410734c46bc55f2427e99ecf61bad7e3b244)
-rw-r--r-- | source3/passdb/util_sam_sid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/util_sam_sid.c b/source3/passdb/util_sam_sid.c index c4fd08746c..6e9ccecc9e 100644 --- a/source3/passdb/util_sam_sid.c +++ b/source3/passdb/util_sam_sid.c @@ -292,7 +292,7 @@ BOOL map_name_to_wellknown_sid(DOM_SID *sid, enum SID_NAME_USE *use, const char continue; for (j=0; users[j].known_user_name != NULL; j++) { - if (strequal(users[j].known_user_name, name) == 0) { + if ( strequal(users[j].known_user_name, name) ) { sid_copy(sid, sid_name_map[i].sid); sid_append_rid(sid, users[j].rid); *use = users[j].sid_name_use; |