]> git.sur5r.net Git - openldap/commitdiff
clean orm_modlist before each mod
authorPierangelo Masarati <ando@openldap.org>
Mon, 12 Jun 2006 22:56:30 +0000 (22:56 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 12 Jun 2006 22:56:30 +0000 (22:56 +0000)
servers/slapd/overlays/refint.c

index 2b83cef5e14078a000ba09d80bd3ef5b11001061..e83fca12e21303023a7a906a6b125bb399aa9599 100644 (file)
@@ -506,11 +506,11 @@ refint_qtask( void *ctx, void *arg )
                **
                */
 
-               op->orm_modlist = NULL;
-
                for(dp = rq->attrs; dp; dp = dp->next) {
                        Modifications *m, *first = NULL;
 
+                       op->orm_modlist = NULL;
+
                        op->o_req_dn    = dp->dn;
                        op->o_req_ndn   = dp->ndn;
                        op->o_bd = select_backend(&dp->ndn, 0, 1);