]> git.sur5r.net Git - openldap/commitdiff
fix malformed test
authorPierangelo Masarati <ando@openldap.org>
Sat, 4 Aug 2001 16:46:03 +0000 (16:46 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 4 Aug 2001 16:46:03 +0000 (16:46 +0000)
servers/slapd/config.c

index adef505afabefc4ac9c69c6ff64d7584c4a7f45c..25fe612b5db0e674278a1eca592ef12b7510f6a5 100644 (file)
@@ -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