mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 14:23:34 -05:00
ITS#3979 restore old (RE21, RE22) search order
This commit is contained in:
parent
3673cceb6c
commit
f1e05336f1
1 changed files with 2 additions and 9 deletions
|
|
@ -909,16 +909,9 @@ glue_sub_add( BackendDB *be, int advert, int online )
|
|||
SLAP_DBFLAGS( be ) |= SLAP_DBFLAG_GLUE_ADVERTISE;
|
||||
|
||||
ga = ch_malloc( sizeof( glue_Addrec ));
|
||||
ga->ga_next = NULL;
|
||||
ga->ga_next = ga_list;
|
||||
ga->ga_be = be;
|
||||
if ( ga_list ) {
|
||||
glue_Addrec *g2 = ga_list;
|
||||
|
||||
for ( ; g2 && g2->ga_next; g2=g2->ga_next );
|
||||
g2->ga_next = ga;
|
||||
} else {
|
||||
ga_list = ga;
|
||||
}
|
||||
ga_list = ga;
|
||||
|
||||
if ( online )
|
||||
rc = glue_sub_attach();
|
||||
|
|
|
|||
Loading…
Reference in a new issue