From: Pierangelo Masarati Date: Fri, 21 Dec 2001 10:15:24 +0000 (+0000) Subject: temporary variable erroneously inside #ifdef (ITS#1503) X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~582 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d71888c0aa2d1da152227947127201c797e30b3a;p=openldap temporary variable erroneously inside #ifdef (ITS#1503) --- diff --git a/servers/slapd/delete.c b/servers/slapd/delete.c index bbda5a3f90..27a68d529d 100644 --- a/servers/slapd/delete.c +++ b/servers/slapd/delete.c @@ -160,8 +160,8 @@ do_delete( */ if ( be->be_delete ) { /* do the update here */ -#ifndef SLAPD_MULTIMASTER int repl_user = be_isupdate( be, op->o_ndn ); +#ifndef SLAPD_MULTIMASTER if ( be->be_update_ndn == NULL || repl_user ) #endif { diff --git a/servers/slapd/modrdn.c b/servers/slapd/modrdn.c index 861b2142b7..1914d8e013 100644 --- a/servers/slapd/modrdn.c +++ b/servers/slapd/modrdn.c @@ -305,8 +305,8 @@ do_modrdn( */ if ( be->be_modrdn ) { /* do the update here */ -#ifndef SLAPD_MULTIMASTER int repl_user = be_isupdate( be, op->o_ndn ); +#ifndef SLAPD_MULTIMASTER if ( be->be_update_ndn == NULL || repl_user ) #endif {