diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-14 19:10:25 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-14 19:10:25 +0000 |
commit | 6a631903b531ade7a608b89ee133c9eda00b54ff (patch) | |
tree | d1c6edccb935fb6ac6c6d71b2b851591c14c83a1 | |
parent | 5e5eb4e69447cbce9c9985d6bc161c68ab0dc36c (diff) | |
download | fetchmail-6a631903b531ade7a608b89ee133c9eda00b54ff.tar.gz fetchmail-6a631903b531ade7a608b89ee133c9eda00b54ff.tar.bz2 fetchmail-6a631903b531ade7a608b89ee133c9eda00b54ff.zip |
Accept RFC822 headers with tabs in them.
svn path=/trunk/; revision=333
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | driver.c | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -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 -- @@ -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; |