dovecot-2.0: doveconf: If config parsing fails, don't crash.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jan 25 00:38:28 EET 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/3117e9f35e45
changeset: 10577:3117e9f35e45
user: Timo Sirainen <tss at iki.fi>
date: Mon Jan 25 00:38:22 2010 +0200
description:
doveconf: If config parsing fails, don't crash.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/config/config-parser.c | 2 +-
diffs (12 lines):
diff -r 9c80cc65def8 -r 3117e9f35e45 src/config/config-parser.c
--- a/src/config/config-parser.c Mon Jan 25 00:25:07 2010 +0200
+++ b/src/config/config-parser.c Mon Jan 25 00:38:22 2010 +0200
@@ -748,7 +748,7 @@ prevfile:
if (ret == 0)
ret = config_parse_finish(&ctx, error_r);
- return ret < 0 ? -1 : 1;
+ return ret < 0 ? ret : 1;
}
void config_parse_load_modules(void)
More information about the dovecot-cvs
mailing list