1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

r13999: Quick fix for Coverity bug #11.

Jeremy.
This commit is contained in:
Jeremy Allison 2006-03-08 01:01:34 +00:00 committed by Gerald (Jerry) Carter
parent 75c95d149a
commit b9de6c9269

View File

@ -149,7 +149,13 @@ BOOL sec_ace_equal(SEC_ACE *s1, SEC_ACE *s2)
{
/* Trivial case */
if (!s1 && !s2) return True;
if (!s1 && !s2) {
return True;
}
if (!s1 || !s2) {
return False;
}
/* Check top level stuff */