mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Kill //-style comments
This commit is contained in:
parent
ed0e5393b4
commit
07b9eb68a3
@ -627,11 +627,11 @@ aci_list_has_right (struct berval *list, int access, int action)
|
|||||||
return(!action);
|
return(!action);
|
||||||
#else
|
#else
|
||||||
if (action != 0) {
|
if (action != 0) {
|
||||||
// check granted
|
/* check granted */
|
||||||
if (ACL_GRANT(right, access))
|
if (ACL_GRANT(right, access))
|
||||||
return(1);
|
return(1);
|
||||||
} else {
|
} else {
|
||||||
// check denied
|
/* check denied */
|
||||||
if (right <= access)
|
if (right <= access)
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user