From: Pierangelo Masarati Date: Thu, 21 Jul 2005 14:23:49 +0000 (+0000) Subject: glue's enum conflicts with slap_operation_t X-Git-Tag: OPENLDAP_AC_BP~294 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ab4bb3e6172b1dadf7fa94cbdb26af59aec091b0;p=openldap glue's enum conflicts with slap_operation_t --- diff --git a/servers/slapd/overlays/glue.c b/servers/slapd/overlays/glue.c index 569bb80786..a6e0d68304 100644 --- a/servers/slapd/overlays/glue.c +++ b/servers/slapd/overlays/glue.c @@ -154,10 +154,10 @@ glue_op_response ( Operation *op, SlapReply *rs ) } enum glue_which { - op_modify = 0, - op_modrdn, - op_add, - op_delete + glue_op_modify = 0, + glue_op_modrdn, + glue_op_add, + glue_op_delete }; static int @@ -174,10 +174,10 @@ glue_op_func ( Operation *op, SlapReply *rs ) b0->bd_info = on->on_info->oi_orig; switch(op->o_tag) { - case LDAP_REQ_ADD: which = op_add; break; - case LDAP_REQ_DELETE: which = op_delete; break; - case LDAP_REQ_MODIFY: which = op_modify; break; - case LDAP_REQ_MODRDN: which = op_modrdn; break; + case LDAP_REQ_ADD: which = glue_op_add; break; + case LDAP_REQ_DELETE: which = glue_op_delete; break; + case LDAP_REQ_MODIFY: which = glue_op_modify; break; + case LDAP_REQ_MODRDN: which = glue_op_modrdn; break; } func = &op->o_bd->bd_info->bi_op_modify;