ITS#3979 restore old (RE21, RE22) search order

This commit is contained in:
Howard Chu 2005-09-09 11:43:13 +00:00
parent 3673cceb6c
commit f1e05336f1

View File

@ -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();