From: Howard Chu Date: Thu, 28 Jul 2011 20:52:47 +0000 (-0700) Subject: ITS#7000 fix bad patch in ITS#6472 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ff7acea2d25b4037f93431909512aeedba33127c;p=openldap ITS#7000 fix bad patch in ITS#6472 --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 790c078195..7178270849 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -3085,7 +3085,7 @@ retry_modrdn:; /* NOTE: noSuchObject should result because the new superior * has not been added yet (ITS#6472) */ - if ( rc == LDAP_NO_SUCH_OBJECT && !BER_BVISNULL( op->orr_nnewSup )) { + if ( rc == LDAP_NO_SUCH_OBJECT && op->orr_nnewSup != NULL ) { Operation op2 = *op; rc = syncrepl_add_glue_ancestors( &op2, entry ); if ( rc == LDAP_SUCCESS ) {