make sure we notice if this gets out of sync with slap_operation_e

This commit is contained in:
Pierangelo Masarati 2005-07-21 14:13:57 +00:00
parent 857543c1f8
commit ca8a734b92

View File

@ -304,7 +304,7 @@ over_access_allowed(
* default return code in case of missing backend function
* and overlay stack returning SLAP_CB_CONTINUE
*/
static int op_rc[] = {
static int op_rc[ op_last ] = {
LDAP_UNWILLING_TO_PERFORM, /* bind */
LDAP_UNWILLING_TO_PERFORM, /* unbind */
LDAP_UNWILLING_TO_PERFORM, /* search */