]> git.sur5r.net Git - openldap/commitdiff
More for #6503
authorHoward Chu <hyc@openldap.org>
Thu, 6 Jan 2011 22:46:08 +0000 (22:46 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 6 Jan 2011 22:46:08 +0000 (22:46 +0000)
servers/slapd/overlays/syncprov.c

index 5bc7679f5a73114a7ee5d4d220c2fe6a35810c4e..3d465583755bbc1dded6b41b50ef2f7cda2ae042 100644 (file)
@@ -1641,6 +1641,8 @@ syncprov_playlog( Operation *op, SlapReply *rs, sessionlog *sl,
                        delcsn[0].bv_len = se->se_csn.bv_len;
                        delcsn[0].bv_val[delcsn[0].bv_len] = '\0';
                } else {
+                       if ( se->se_tag == LDAP_REQ_ADD )
+                               continue;
                        nmods++;
                        j = num - nmods;
                }