mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
enable new response/cleanup playlist #ifdef LDAP_DEVEL
This commit is contained in:
parent
39959c3192
commit
17bb32af28
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user