diff options
author | Volker Lendecke <vl@samba.org> | 2011-08-17 12:18:14 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-08-17 12:30:08 +0200 |
commit | 8fd5e0ff2e08288d499556b5b48dcc7a9a3fc85f (patch) | |
tree | 1413c297fb202de35eedb1f5a6bef7bce3563d50 /libcli | |
parent | 102f39ae3e7df26faf81595c8e0120b2e2a45bbd (diff) | |
download | samba-8fd5e0ff2e08288d499556b5b48dcc7a9a3fc85f.tar.gz samba-8fd5e0ff2e08288d499556b5b48dcc7a9a3fc85f.tar.bz2 samba-8fd5e0ff2e08288d499556b5b48dcc7a9a3fc85f.zip |
Replace calls to sid_equal with calls to dom_sid_equal
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/security/util_sid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/security/util_sid.c b/libcli/security/util_sid.c index cf1f7f368f..dd27b7c20d 100644 --- a/libcli/security/util_sid.c +++ b/libcli/security/util_sid.c @@ -337,7 +337,7 @@ void del_sid_from_array(const struct dom_sid *sid, struct dom_sid **sids, /* if we find the SID, then decrement the count and break out of the loop */ - if ( sid_equal(sid, &sid_list[i]) ) { + if (dom_sid_equal(sid, &sid_list[i])) { *num -= 1; break; } @@ -377,5 +377,5 @@ bool add_rid_to_array_unique(TALLOC_CTX *mem_ctx, bool is_null_sid(const struct dom_sid *sid) { static const struct dom_sid null_sid = {0}; - return sid_equal(sid, &null_sid); + return dom_sid_equal(sid, &null_sid); } |