]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Tue, 12 Feb 2008 21:18:30 +0000 (21:18 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 12 Feb 2008 21:18:30 +0000 (21:18 +0000)
servers/slapd/overlays/accesslog.c

index 311959696f02dcc0b22a1bff2400966b6dc5a169..d63b427229a0e491b2a4ce2ffea98eb2ea2e0c98 100644 (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 );
        }