From: Pierangelo Masarati Date: Wed, 11 Jan 2006 21:30:53 +0000 (+0000) Subject: (incorrect) variable used before set (ITS#4331) X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~344 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=90fad5a3a382cfd58bfdd59ec62c376e0c1c5b8b;p=openldap (incorrect) variable used before set (ITS#4331) --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 083811043d..7a9272759b 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -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;