From: Pierangelo Masarati Date: Sat, 5 Jan 2002 15:44:08 +0000 (+0000) Subject: fix malformed test X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~276 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ca60d05dd193af2e23d695bb18cfa48b88116951;p=openldap fix malformed test --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index dfd6fab945..65a7c3ee18 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -1055,7 +1055,7 @@ read_config( const char *fname ) tmp_be = select_backend( &nalias, 0, 0 ); free( nalias.bv_val ); - if ( tmp_be != be ) { + if ( tmp_be && tmp_be != be ) { #ifdef NEW_LOGGING LDAP_LOG(( "config", LDAP_LEVEL_INFO, "%s: line %d: suffixAlias served by a preceeding " @@ -1092,7 +1092,7 @@ read_config( const char *fname ) tmp_be = select_backend( &naliased, 0, 0 ); free( naliased.bv_val ); - if ( tmp_be != be ) { + if ( tmp_be && tmp_be != be ) { #ifdef NEW_LOGGING LDAP_LOG(( "config", LDAP_LEVEL_INFO, "%s: line %d: suffixAlias derefs to a different backend "