mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-18 12:54:09 -05:00
Fix entry ordering in config_build_entry
This commit is contained in:
parent
4642c21f65
commit
73eda09be3
1 changed files with 2 additions and 2 deletions
|
|
@ -5323,9 +5323,9 @@ config_build_entry( Operation *op, SlapReply *rs, CfEntryInfo *parent,
|
|||
ce->ce_parent = parent;
|
||||
if ( parent ) {
|
||||
pdn = parent->ce_entry->e_nname;
|
||||
if ( parent->ce_kids && parent->ce_kids->ce_type < ce->ce_type )
|
||||
if ( parent->ce_kids )
|
||||
for ( ceprev = parent->ce_kids; ceprev->ce_sibs &&
|
||||
ceprev->ce_type < ce->ce_type;
|
||||
ceprev->ce_type <= ce->ce_type;
|
||||
ceprev = ceprev->ce_sibs );
|
||||
} else {
|
||||
BER_BVZERO( &pdn );
|
||||
|
|
|
|||
Loading…
Reference in a new issue