]> git.sur5r.net Git - openldap/commitdiff
ITS#4365 reset frs.sr_nentries before searching in syncprov_playlog
authorHoward Chu <hyc@openldap.org>
Mon, 23 Jan 2006 22:23:00 +0000 (22:23 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 23 Jan 2006 22:23:00 +0000 (22:23 +0000)
servers/slapd/overlays/syncprov.c

index 8d30c204f36d4e086479458a0f43b43d7fa220bd..ae7780700fcbbf714d764aed2768585a2f62e68b 100644 (file)
@@ -1434,6 +1434,7 @@ syncprov_playlog( Operation *op, SlapReply *rs, sessionlog *sl,
                        mf.f_av_value = uuids[i];
                        cb.sc_private = NULL;
                        fop.ors_slimit = 1;
+                       frs.sr_nentries = 0;
                        rc = fop.o_bd->be_search( &fop, &frs );
 
                        /* If entry was not found, add to delete list */