From ff7acea2d25b4037f93431909512aeedba33127c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 28 Jul 2011 13:52:47 -0700 Subject: [PATCH] ITS#7000 fix bad patch in ITS#6472 --- servers/slapd/syncrepl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5