]> git.sur5r.net Git - openldap/commitdiff
Fix replog check
authorHoward Chu <hyc@openldap.org>
Sat, 17 Apr 2004 15:41:16 +0000 (15:41 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 17 Apr 2004 15:41:16 +0000 (15:41 +0000)
servers/slapd/overlays/refint.c

index d97f49dce47d1139dc8813e4e4bd7d4340d1c614..c802a965b94764d4551fc56ee6698e580fac4743 100644 (file)
@@ -585,8 +585,7 @@ refint_response(
        dd.message      = "_dependent_modify";
 
        /* See if the parent operation is going into the replog */
-       cbo = NULL;
-       for (cbp = op->o_callback->sc_next; cbp; cbo=cbp,cbp=cbp->sc_next) {
+       for (cbo=op->o_callback, cbp = cbo->sc_next; cbp; cbo=cbp,cbp=cbp->sc_next) {
                if (cbp->sc_response == slap_replog_cb) {
                        /* Invoke replog now, arrange for our
                         * dependent mods to also be logged