aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--driver.c8
2 files changed, 6 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index b9b60bc6..490e1ecd 100644
--- a/NEWS
+++ b/NEWS
@@ -30,6 +30,8 @@ bugs --
In versions up to 1.7 it was the calling user; in 1.8 the remote
user ID. This created some confusion.
+* Accept RFC822 headers wiith a tab after the colon.
+
fetchmail-1.8 (Fri Oct 11 15:08:10 EDT 1996):
features --
diff --git a/driver.c b/driver.c
index 316f2203..a52ffe24 100644
--- a/driver.c
+++ b/driver.c
@@ -358,13 +358,13 @@ struct hostrec *queryctl;
if (!strncmp(bufp,"From ",5))
unixfrom = bufp;
- else if (!strncasecmp("From: ", bufp, 6))
+ else if (!strncasecmp("From:", bufp, 5))
fromhdr = bufp;
- else if (!strncasecmp("To: ", bufp, 4))
+ else if (!strncasecmp("To:", bufp, 3))
tohdr = bufp;
- else if (!strncasecmp("Cc: ", bufp, 4))
+ else if (!strncasecmp("Cc:", bufp, 3))
cchdr = bufp;
- else if (!strncasecmp("Bcc: ", bufp, 5))
+ else if (!strncasecmp("Bcc:", bufp, 4))
bcchdr = bufp;
goto skipwrite;