Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lukas However
OpenLDAP
Commits
171e934b
Commit
171e934b
authored
Dec 23, 2003
by
Howard Chu
Browse files
Execute overlays in reverse of config order.
parent
71c076dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/backover.c
View file @
171e934b
...
...
@@ -318,6 +318,7 @@ overlay_config( BackendDB *be, const char *ov )
be
->
bd_info
=
bi
;
}
#if 0
/* Walk to the end of the list of overlays, add the new
* one onto the end
*/
...
...
@@ -332,6 +333,16 @@ overlay_config( BackendDB *be, const char *ov )
*on2 = *on;
on2->on_next = NULL;
on2->on_info = oi;
#else
/* Insert new overlay on head of list. Overlays are executed
* in reverse of config order...
*/
on2
=
ch_calloc
(
1
,
sizeof
(
slap_overinst
)
);
*
on2
=
*
on
;
on2
->
on_info
=
oi
;
on2
->
on_next
=
oi
->
oi_list
;
oi
->
oi_list
=
on2
;
#endif
/* Any initialization needed? */
if
(
on
->
on_bi
.
bi_db_init
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment