From df1aa2fa8935dd28d354d7e587e2c84686e7e444 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 12 Feb 2008 21:18:30 +0000 Subject: [PATCH] Fix prev commit --- servers/slapd/overlays/accesslog.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ); } -- 2.39.5