dovecot-2.0: config: Skip spaces between '<' and value in "key=<...

dovecot at dovecot.org dovecot at dovecot.org
Wed Nov 16 19:06:41 EET 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/6198fe13342c
changeset: 12966:6198fe13342c
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Nov 16 19:06:20 2011 +0200
description:
config: Skip spaces between '<' and value in "key=< value"

diffstat:

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

diffs (11 lines):

diff -r 071bb6a1b250 -r 6198fe13342c src/config/config-parser.c
--- a/src/config/config-parser.c	Wed Nov 16 00:28:32 2011 +0200
+++ b/src/config/config-parser.c	Wed Nov 16 19:06:20 2011 +0200
@@ -612,6 +612,7 @@
 		while (IS_WHITE(*line)) line++;
 
 		if (*line == '<') {
+			while (IS_WHITE(line[1])) line++;
 			*value_r = line + 1;
 			return CONFIG_LINE_TYPE_KEYFILE;
 		}


More information about the dovecot-cvs mailing list