diff options
author | Jeremy Allison <jra@samba.org> | 2003-02-03 20:37:16 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-02-03 20:37:16 +0000 |
commit | ce36f03701eb0312c73bcd4f25a083f9176b15fd (patch) | |
tree | 4fa396c8dfed6f82e8d339bd628cc3574c6f59b1 | |
parent | f589ec26d2ebddf07ef1492df2ef9769eaf45146 (diff) | |
download | samba-ce36f03701eb0312c73bcd4f25a083f9176b15fd.tar.gz samba-ce36f03701eb0312c73bcd4f25a083f9176b15fd.tar.bz2 samba-ce36f03701eb0312c73bcd4f25a083f9176b15fd.zip |
Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
Jeremy.
(This used to be commit 77737b498d0c1c3efb23891465623f44c03d1801)
-rw-r--r-- | source3/utils/profiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c index 14b480cd16..2ed102b677 100644 --- a/source3/utils/profiles.c +++ b/source3/utils/profiles.c @@ -408,7 +408,7 @@ int my_sid_equal(DOM_SID *s1, DOM_SID *s2) if (sa1 != sa2) return 0; - return !bcmp((char *)&s1->id_auth, (char *)&s2->id_auth, + return !memcmp((char *)&s1->id_auth, (char *)&s2->id_auth, 6 + sa1 * 4); } |