diff options
author | Jeremy Allison <jra@samba.org> | 2003-02-03 20:38:01 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-02-03 20:38:01 +0000 |
commit | 824bcb885cc5c1bf9261a9f4cbeac434a8e774c1 (patch) | |
tree | c03736934557ba78ade5feb459405490dc597272 /source3/utils | |
parent | c803605f3d82883c96ee9cd9641b2d3ebeff86d1 (diff) | |
download | samba-824bcb885cc5c1bf9261a9f4cbeac434a8e774c1.tar.gz samba-824bcb885cc5c1bf9261a9f4cbeac434a8e774c1.tar.bz2 samba-824bcb885cc5c1bf9261a9f4cbeac434a8e774c1.zip |
Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
Jeremy.
(This used to be commit e96978954b830d83880f03b6825bce6e7b53b5d7)
Diffstat (limited to 'source3/utils')
-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); } |