From: Pierangelo Masarati Date: Sat, 4 Aug 2001 16:46:03 +0000 (+0000) Subject: fix malformed test X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1162 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b637967b952e73ee89ff42349bc0dff19fc13752;p=openldap fix malformed test --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index adef505afa..25fe612b5d 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -1687,7 +1687,7 @@ read_config( const char *fname ) if ( strncasecmp( cargv[i], "suffix=", 7 ) == 0 ) { char *nsuffix = ch_strdup( cargv[i] + 7 ); if ( dn_normalize( nsuffix ) != NULL ) { - if ( be_issuffix( be, nsuffix ) ) { + if ( select_backend( nsuffix, 0 ) == be ) { charray_add( &be->be_replica[nr]->ri_nsuffix, nsuffix ); } else { #ifdef NEW_LOGGING