dovecot-1.0: deliver didn't ignore TABs the same way spaces were...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Aug 8 15:26:50 EEST 2007
details: http://hg.dovecot.org/dovecot-1.0/rev/f5f59b8a26a7
changeset: 5368:f5f59b8a26a7
user: Timo Sirainen <tss at iki.fi>
date: Wed Aug 08 15:26:45 2007 +0300
description:
deliver didn't ignore TABs the same way spaces were ignored.
diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
src/deliver/deliver.c | 4 ++--
diffs (21 lines):
diff -r 010e46d57349 -r f5f59b8a26a7 src/deliver/deliver.c
--- a/src/deliver/deliver.c Mon Aug 06 17:11:21 2007 +0300
+++ b/src/deliver/deliver.c Wed Aug 08 15:26:45 2007 +0300
@@ -278,7 +278,7 @@ static void config_file_init(const char
continue;
}
- while (p > line && p[-1] == ' ') p--;
+ while (p > line && IS_WHITE(p[-1])) p--;
key = t_strdup_until(line, p);
if (sections > 0 && !lda_section) {
@@ -289,7 +289,7 @@ static void config_file_init(const char
do {
value++;
- } while (*value == ' ');
+ } while (IS_WHITE(*value));
len = strlen(value);
if (len > 0 &&
More information about the dovecot-cvs
mailing list