dovecot-2.0: config: Give an error if "block {" continues with n...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Sep 3 21:10:32 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/a05834588ffb
changeset: 12076:a05834588ffb
user: Timo Sirainen <tss at iki.fi>
date: Fri Sep 03 19:10:28 2010 +0100
description:
config: Give an error if "block {" continues with non-whitespace.
diffstat:
src/config/config-parser.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (18 lines):
diff -r 124dd0840ed8 -r a05834588ffb src/config/config-parser.c
--- a/src/config/config-parser.c Fri Sep 03 15:18:55 2010 +0100
+++ b/src/config/config-parser.c Fri Sep 03 19:10:28 2010 +0100
@@ -566,10 +566,10 @@
*value_r = "Expecting '='";
return CONFIG_LINE_TYPE_ERROR;
}
- if (line[1] != '\0') {
- *value_r = "Garbage after '{'";
- return CONFIG_LINE_TYPE_ERROR;
- }
+ }
+ if (line[1] != '\0') {
+ *value_r = "Garbage after '{'";
+ return CONFIG_LINE_TYPE_ERROR;
}
return CONFIG_LINE_TYPE_SECTION_BEGIN;
}
More information about the dovecot-cvs
mailing list