]> git.sur5r.net Git - openldap/commitdiff
(incorrect) variable used before set (ITS#4331)
authorPierangelo Masarati <ando@openldap.org>
Wed, 11 Jan 2006 21:30:53 +0000 (21:30 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 11 Jan 2006 21:30:53 +0000 (21:30 +0000)
servers/slapd/syncrepl.c

index 083811043d9d1457ea2d92d0dc6bab049c784a22..7a9272759be7496aa58e8f9576a4ac5f2d61a14a 100644 (file)
@@ -1839,7 +1839,7 @@ retry_add:;
 
                        dnParent( &dni.ndn, &noldp );
                        dnParent( &entry->e_nname, &nnewp );
-                       if ( !dn_match( &noldp, &newp )) {
+                       if ( !dn_match( &noldp, &nnewp )) {
                                dnParent( &entry->e_name, &newp );
                                op->orr_newSup = &newp;
                                op->orr_nnewSup = &nnewp;