changeset 6235:8992a20c229f HEAD

deliver didn't ignore TABs the same way spaces were ignored.
author Timo Sirainen <tss@iki.fi>
date Wed, 08 Aug 2007 15:26:45 +0300
parents 616872f3710c
children aca5c234b71a
files src/deliver/deliver.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/deliver/deliver.c	Tue Aug 07 15:33:10 2007 +0300
+++ b/src/deliver/deliver.c	Wed Aug 08 15:26:45 2007 +0300
@@ -284,7 +284,7 @@
 			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) {
@@ -295,7 +295,7 @@
 
 		do {
 			value++;
-		} while (*value == ' ');
+		} while (IS_WHITE(*value));
 
 		len = strlen(value);
 		if (len > 0 &&