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

dovecot at dovecot.org dovecot at dovecot.org
Wed Nov 16 19:07:10 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/3368f9b3c8df
changeset: 13706:3368f9b3c8df
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 ba5d4c918842 -r 3368f9b3c8df src/config/config-parser.c
--- a/src/config/config-parser.c	Wed Nov 16 19:04:31 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