1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Index: dovecot-1.2.12/src/lib-settings/settings.c
===================================================================
--- dovecot-1.2.12.orig/src/lib-settings/settings.c 2010-06-24 14:08:02.274875086 -0400
+++ dovecot-1.2.12/src/lib-settings/settings.c 2010-06-24 14:08:25.374248317 -0400
@@ -153,8 +153,8 @@
}
/* iterate throuth the different files matching the globbing */
- for (i = 0; i < globbers.gl_pathc; i++) {
- if (settings_add_include(globbers.gl_pathv[i], inputp,
+ for (i = globbers.gl_pathc; i > 0 ; i--) {
+ if (settings_add_include(globbers.gl_pathv[i-1], inputp,
ignore_errors, error_r) < 0)
return -1;
}
|