mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
minor cleanup
This commit is contained in:
parent
e25627942e
commit
e754997da0
@ -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] );
|
||||
|
Loading…
Reference in New Issue
Block a user