aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-10-09 21:55:16 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-10-09 21:55:16 +0000
commit38d899350ae94c35e7389f0c01da99dff8efda8d (patch)
treed91c2ecddfb8772b5e3e794028a3518239546088
parentbc03bb7eec2c6b0bd3d6e7ebd9d8faba6ba08a5f (diff)
downloadfetchmail-38d899350ae94c35e7389f0c01da99dff8efda8d.tar.gz
fetchmail-38d899350ae94c35e7389f0c01da99dff8efda8d.tar.bz2
fetchmail-38d899350ae94c35e7389f0c01da99dff8efda8d.zip
Handle RFC822 routes.
svn path=/trunk/; revision=1494
-rw-r--r--driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 7f361f69..3ec6e522 100644
--- a/driver.c
+++ b/driver.c
@@ -354,6 +354,9 @@ static char *parse_received(struct query *ctl, char *bufp)
sp = ok + 4;
if (*sp == '<')
sp++;
+ while (*sp == '@') /* skip routes */
+ while (*sp++ != ':')
+ continue;
while (*sp && *sp != '>' && *sp != '@' && *sp != ';')
if (!isspace(*sp))
*tp++ = *sp++;