From: Pierangelo Masarati Date: Tue, 11 Dec 2001 11:30:01 +0000 (+0000) Subject: minor cleanup X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~664 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e754997da077baf471e5368936a5933b2aca385f;p=openldap minor cleanup --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 92c3b44dba..45c6b36ee9 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -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] );