dovecot-2.2: lib-settings: Allow using comma as deflist separator.
dovecot at dovecot.org
dovecot at dovecot.org
Tue Dec 8 10:25:07 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/ba0dd0dcc223
changeset: 19487:ba0dd0dcc223
user: Timo Sirainen <tss at iki.fi>
date: Tue Dec 08 12:24:42 2015 +0200
description:
lib-settings: Allow using comma as deflist separator.
This means that when adding new block {}s via e.g. userdb or post-login
script, the block names can now be set with block=a,b,c instead of
"block=a b c". This is beneficial with e.g. passwd-file or userdb
default_fields where spaces are used to separate parameters entirely.
diffstat:
src/lib-settings/settings-parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b4f2b8615da9 -r ba0dd0dcc223 src/lib-settings/settings-parser.c
--- a/src/lib-settings/settings-parser.c Tue Dec 08 10:18:48 2015 +0200
+++ b/src/lib-settings/settings-parser.c Tue Dec 08 12:24:42 2015 +0200
@@ -568,7 +568,7 @@
return -1;
}
- list = t_strsplit(value, "\t ");
+ list = t_strsplit(value, ",\t ");
for (; *list != NULL; list++) {
if (**list == '\0')
continue;
More information about the dovecot-cvs
mailing list