summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-12-01 19:58:53 +0000
committerGerald Carter <jerry@samba.org>2003-12-01 19:58:53 +0000
commit8ecfda5c07255365e67f760a2a5be651ace6518b (patch)
tree00466be386e507eae3e83d072acf85e96e1a99d3
parent156d15b93b6940faa38b06fd52add0b3e53a8ad3 (diff)
downloadsamba-8ecfda5c07255365e67f760a2a5be651ace6518b.tar.gz
samba-8ecfda5c07255365e67f760a2a5be651ace6518b.tar.bz2
samba-8ecfda5c07255365e67f760a2a5be651ace6518b.zip
another strequal() == 0 fix
(This used to be commit 818bba4b796440453e5911369adf5bd147e9b961)
-rw-r--r--source3/passdb/util_sam_sid.c2
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;