From deb1fb6eb68b2bd5e0da4e8b6e72994d63c8f627 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 17 Aug 2009 13:11:05 +0000 Subject: [PATCH] Fix refresh_merge, using mods from wrong entry --- servers/slapd/overlays/pcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 86ea8b8262..7f4d861fc6 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -2735,7 +2735,7 @@ refresh_merge( Operation *op, SlapReply *rs ) } } *b = NULL; - slap_entry2mods( &ne, &modlist, &text, textbuf, textlen ); + slap_entry2mods( rs->sr_entry, &modlist, &text, textbuf, textlen ); syncrepl_diff_entry( op, ne.e_attrs, rs->sr_entry->e_attrs, &mods, &modlist, 0 ); be_entry_release_r( op, e ); -- 2.39.5