From: Howard Chu Date: Tue, 12 Feb 2008 21:18:30 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~154 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=df1aa2fa8935dd28d354d7e587e2c84686e7e444;p=openldap Fix prev commit --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index 311959696f..d63b427229 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -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 ); }