From ab4bb3e6172b1dadf7fa94cbdb26af59aec091b0 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 21 Jul 2005 14:23:49 +0000 Subject: [PATCH] glue's enum conflicts with slap_operation_t --- servers/slapd/overlays/glue.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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; -- 2.39.5