Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
authorJeremy Allison <jra@samba.org>
Mon, 3 Feb 2003 20:38:01 +0000 (20:38 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 3 Feb 2003 20:38:01 +0000 (20:38 +0000)
Jeremy.
(This used to be commit e96978954b830d83880f03b6825bce6e7b53b5d7)

source3/utils/profiles.c

index 14b480cd16479af9cdac1f0edd4239adc171b973..2ed102b677568aed29291b43a5a5f0362eb2dc41 100644 (file)
@@ -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);
 
 }