]> git.sur5r.net Git - openldap/commitdiff
make sure we notice if this gets out of sync with slap_operation_e
authorPierangelo Masarati <ando@openldap.org>
Thu, 21 Jul 2005 14:13:57 +0000 (14:13 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 21 Jul 2005 14:13:57 +0000 (14:13 +0000)
servers/slapd/backover.c

index b53ee210648aeaca24cc45fbc59eb938834f233d..a13aa8c5128790b9e666f933bdbcdba3364b4bb2 100644 (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 */