Fix dir config merger 'over'-write, thanks Bill (again).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1688331 13f79535-47bb-0310-9956-
ffa450edef68
subst_dir_conf *base = (subst_dir_conf *) basev;
subst_dir_conf *over = (subst_dir_conf *) overv;
- if (over->inherit_before < 0) {
- over->inherit_before = (base->inherit_before > 0);
- }
- if (over->inherit_before) {
+ a->inherit_before = (over->inherit_before > 0 || (over->inherit_before < 0 &&
+ base->inherit_before > 0));
+ if (a->inherit_before) {
a->patterns = apr_array_append(p, base->patterns,
over->patterns);
}