]> git.sur5r.net Git - openldap/commitdiff
Fix refresh_merge, using mods from wrong entry
authorHoward Chu <hyc@openldap.org>
Mon, 17 Aug 2009 13:11:05 +0000 (13:11 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 17 Aug 2009 13:11:05 +0000 (13:11 +0000)
servers/slapd/overlays/pcache.c

index 86ea8b826250e4f53f8d5de1d78e86a4201088ab..7f4d861fc6c6c9fb1017236436fa4070d1e2045d 100644 (file)
@@ -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 );