From: Howard Chu Date: Thu, 28 Jul 2011 20:52:47 +0000 (-0700) Subject: ITS#7000 fix bad patch in ITS#6472 X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~312 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d33e744e4d9d8bf4539bfea0132aeb1dff63d5be;p=openldap ITS#7000 fix bad patch in ITS#6472 --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 05706b406f..aeafd09e0b 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -3090,7 +3090,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 ) {