changeset 13706:3368f9b3c8df

config: Skip spaces between '<' and value in "key=< value"
author Timo Sirainen <tss@iki.fi>
date Wed, 16 Nov 2011 19:06:20 +0200
parents ba5d4c918842
children a695e124e62f
files src/config/config-parser.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 		}