dovecot-2.1: config: Added a comment

dovecot at dovecot.org dovecot at dovecot.org
Wed Mar 21 19:01:50 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/ff5c341f8838
changeset: 14330:ff5c341f8838
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Mar 21 19:01:44 2012 +0200
description:
config: Added a comment

diffstat:

 src/config/config-filter.c |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r bb8387e6b18f -r ff5c341f8838 src/config/config-filter.c
--- a/src/config/config-filter.c	Wed Mar 21 18:58:37 2012 +0200
+++ b/src/config/config-filter.c	Wed Mar 21 19:01:44 2012 +0200
@@ -314,6 +314,11 @@
 	const char *error = NULL, **error_p;
 	unsigned int i, count;
 
+	/* get the matching filters. the most specific ones are handled first,
+	   so that if more generic filters try to override settings we'll fail
+	   with an error. Merging SET_STRLIST types requires
+	   settings_parser_apply_changes() to work a bit unintuitively by
+	   letting the destination settings override the source settings. */
 	src = config_filter_find_all(ctx, module, filter, output_r);
 
 	/* all of them should have the same number of parsers.


More information about the dovecot-cvs mailing list