mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 06:13:19 -05:00
ITS#8752 accesslog: partially revert 3bb8b737ed
This commit is contained in:
parent
d5170d5f6e
commit
9fc6b894ec
1 changed files with 3 additions and 3 deletions
|
|
@ -1990,11 +1990,11 @@ accesslog_op_mod( Operation *op, SlapReply *rs )
|
|||
}
|
||||
|
||||
if ( doit ) {
|
||||
slap_callback *cb = op->o_tmpcalloc( 1, sizeof( slap_callback ), op->o_tmpmemctx );
|
||||
slap_callback *cb = op->o_tmpcalloc( 1, sizeof( slap_callback ), op->o_tmpmemctx ), *cb2;
|
||||
cb->sc_cleanup = accesslog_mod_cleanup;
|
||||
cb->sc_private = on;
|
||||
cb->sc_next = op->o_callback;
|
||||
op->o_callback = cb;
|
||||
for ( cb2 = op->o_callback; cb2->sc_next; cb2 = cb2->sc_next );
|
||||
cb2->sc_next = cb;
|
||||
|
||||
#ifdef RMUTEX_DEBUG
|
||||
Debug( LDAP_DEBUG_SYNC,
|
||||
|
|
|
|||
Loading…
Reference in a new issue