From: Howard Chu Date: Sat, 17 Apr 2004 15:41:16 +0000 (+0000) Subject: Fix replog check X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~488 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7fb90589afe92861c62a269ef681b920e875e03a;p=openldap Fix replog check --- diff --git a/servers/slapd/overlays/refint.c b/servers/slapd/overlays/refint.c index d97f49dce4..c802a965b9 100644 --- a/servers/slapd/overlays/refint.c +++ b/servers/slapd/overlays/refint.c @@ -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