git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c803605
)
Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
author
Jeremy Allison
<jra@samba.org>
Mon, 3 Feb 2003 20:38:01 +0000
(20:38 +0000)
committer
Jeremy 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
patch
|
blob
|
history
diff --git
a/source3/utils/profiles.c
b/source3/utils/profiles.c
index 14b480cd16479af9cdac1f0edd4239adc171b973..2ed102b677568aed29291b43a5a5f0362eb2dc41 100644
(file)
--- 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 !
b
cmp((char *)&s1->id_auth, (char *)&s2->id_auth,
+ return !
mem
cmp((char *)&s1->id_auth, (char *)&s2->id_auth,
6 + sa1 * 4);
}