svn commit: samba r10185 - in
branches/SAMBA_4_0/source/libcli/security: .
tpot at samba.org
tpot at samba.org
Mon Sep 12 21:40:41 GMT 2005
Author: tpot
Date: 2005-09-12 21:40:40 +0000 (Mon, 12 Sep 2005)
New Revision: 10185
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10185
Log:
Fix another two sets of unhandled enumeration warnings, plus correct some awful indentation. (-:
Modified:
branches/SAMBA_4_0/source/libcli/security/access_check.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/security/access_check.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/security/access_check.c 2005-09-12 21:37:18 UTC (rev 10184)
+++ branches/SAMBA_4_0/source/libcli/security/access_check.c 2005-09-12 21:40:40 UTC (rev 10185)
@@ -67,13 +67,15 @@
}
switch (ace->type) {
- case SEC_ACE_TYPE_ACCESS_ALLOWED:
- granted |= ace->access_mask;
- break;
- case SEC_ACE_TYPE_ACCESS_DENIED:
- case SEC_ACE_TYPE_ACCESS_DENIED_OBJECT:
- denied |= ace->access_mask;
- break;
+ case SEC_ACE_TYPE_ACCESS_ALLOWED:
+ granted |= ace->access_mask;
+ break;
+ case SEC_ACE_TYPE_ACCESS_DENIED:
+ case SEC_ACE_TYPE_ACCESS_DENIED_OBJECT:
+ denied |= ace->access_mask;
+ break;
+ default: /* Other ACE types not handled/supported */
+ break;
}
}
@@ -153,6 +155,8 @@
return NT_STATUS_ACCESS_DENIED;
}
break;
+ default: /* Other ACE types not handled/supported */
+ break;
}
}
More information about the samba-cvs
mailing list