From: Pierangelo Masarati Date: Thu, 21 Jul 2005 14:13:57 +0000 (+0000) Subject: make sure we notice if this gets out of sync with slap_operation_e X-Git-Tag: OPENLDAP_AC_BP~296 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ca8a734b922fc00ed44170035cdd023da274f071;p=openldap make sure we notice if this gets out of sync with slap_operation_e --- diff --git a/servers/slapd/backover.c b/servers/slapd/backover.c index b53ee21064..a13aa8c512 100644 --- a/servers/slapd/backover.c +++ b/servers/slapd/backover.c @@ -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 */