From 7fb90589afe92861c62a269ef681b920e875e03a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 17 Apr 2004 15:41:16 +0000 Subject: [PATCH] Fix replog check --- servers/slapd/overlays/refint.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.5