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 | e96978954b830d83880f03b6825bce6e7b53b5d7 (patch) | |
tree | a024108b96fa927e975caae4265735f935d17c17 /source/utils/profiles.c | |
parent | 60955d1b81b2b2af4df455ed68721339aaf05a00 (diff) | |
download | samba-e96978954b830d83880f03b6825bce6e7b53b5d7.tar.gz samba-e96978954b830d83880f03b6825bce6e7b53b5d7.tar.xz samba-e96978954b830d83880f03b6825bce6e7b53b5d7.zip |
Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
Jeremy.
Diffstat (limited to 'source/utils/profiles.c')
-rw-r--r-- | source/utils/profiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/profiles.c b/source/utils/profiles.c index 14b480cd164..2ed102b6775 100644 --- a/source/utils/profiles.c +++ b/source/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); } |