]> git.sur5r.net Git - openldap/commitdiff
minor cleanup
authorPierangelo Masarati <ando@openldap.org>
Tue, 11 Dec 2001 11:30:01 +0000 (11:30 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 11 Dec 2001 11:30:01 +0000 (11:30 +0000)
servers/slapd/config.c

index 92c3b44dba30e12bf37341dc272774de3aea0c1f..45c6b36ee95c888610622b4630ff1539b61ce1c7 100644 (file)
@@ -969,7 +969,7 @@ read_config( const char *fname )
                                        return 1;
                                }
 #endif /* USE_LDAP_DN_PARSING */
-                               ber_bvecadd( &be->be_nsuffix, ber_bvstr( dn ));
+                               ber_bvecadd( &be->be_nsuffix, ber_bvstr( dn ) );
                        }
 
                /* set database suffixAlias */
@@ -1057,10 +1057,11 @@ read_config( const char *fname )
                        } else {
                                char *alias, *aliased_dn;
 
-                               alias = ch_strdup( cargv[1] );
                                if ( load_ucdata( NULL ) < 0 ) {
                                        return( 1 );
                                }
+
+                               alias = ch_strdup( cargv[1] );
                                (void) dn_normalize( alias );
 
                                aliased_dn = ch_strdup( cargv[2] );