From: Pierangelo Masarati Date: Sat, 7 Jan 2006 11:40:39 +0000 (+0000) Subject: enable new response/cleanup playlist #ifdef LDAP_DEVEL X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~411 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=17bb32af285bdf8c53e1a64628d1ce8e812ba21c;p=openldap enable new response/cleanup playlist #ifdef LDAP_DEVEL --- diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 9384b591dc..f14e17972d 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -315,7 +315,7 @@ slap_response_play( { int rc; -#ifdef NEW_CB +#ifdef LDAP_DEVEL slap_callback *sc = op->o_callback, **scp; rc = SLAP_CB_CONTINUE; @@ -343,7 +343,7 @@ slap_response_play( } op->o_callback = sc; -#else /* ! NEW_CB */ +#else /* ! LDAP_DEVEL */ slap_callback *sc = op->o_callback, **sc_prev = &sc, *sc_next; rc = SLAP_CB_CONTINUE; @@ -362,7 +362,7 @@ slap_response_play( } op->o_callback = sc; -#endif /* ! NEW_CB */ +#endif /* ! LDAP_DEVEL */ return rc; } @@ -372,7 +372,7 @@ slap_cleanup_play( Operation *op, SlapReply *rs ) { -#ifdef NEW_CB +#ifdef LDAP_DEVEL slap_callback *sc = op->o_callback, **scp; for ( scp = ≻ *scp; ) { @@ -401,7 +401,7 @@ slap_cleanup_play( } op->o_callback = sc; -#else /* ! NEW_CB */ +#else /* ! LDAP_DEVEL */ slap_callback *sc = op->o_callback, **sc_prev = &sc, *sc_next; for ( sc_next = op->o_callback; sc_next; op->o_callback = sc_next) { @@ -419,7 +419,7 @@ slap_cleanup_play( } op->o_callback = sc; -#endif /* ! NEW_CB */ +#endif /* ! LDAP_DEVEL */ return LDAP_SUCCESS; }