Fix prev commit

This commit is contained in:
Howard Chu 2008-02-12 21:18:30 +00:00
parent 55e8763433
commit df1aa2fa89

View File

@ -1344,9 +1344,10 @@ static int accesslog_response(Operation *op, SlapReply *rs) {
li->li_old = NULL;
/* Disarm mod_cleanup */
for ( cb = op->o_callback->sc_next; cb; cb = cb->sc_next ) {
if ( cb->sc_private == (void *)on )
if ( cb->sc_private == (void *)on ) {
cb->sc_private = NULL;
break;
break;
}
}
ldap_pvt_thread_rmutex_unlock( &li->li_op_rmutex, op->o_tid );
}