diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-28 22:38:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-28 22:38:00 +0000 |
commit | a7acaf216371c2ac58e186c92d713ea1982e26df (patch) | |
tree | 4ed126692f9809ebc6de3add842a48c604790430 | |
parent | f4f9da602945abd933e7796546eee4525f5e4c56 (diff) | |
download | fetchmail-a7acaf216371c2ac58e186c92d713ea1982e26df.tar.gz fetchmail-a7acaf216371c2ac58e186c92d713ea1982e26df.tar.bz2 fetchmail-a7acaf216371c2ac58e186c92d713ea1982e26df.zip |
Better envelope-address parsing.
svn path=/trunk/; revision=836
-rw-r--r-- | driver.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -290,8 +290,10 @@ char *parse_received(struct query *ctl, char *bufp) char *sp, *tp; /* extract space-delimited token after "by " */ + for (sp = ok + 3; isspace(*sp); sp++) + continue; tp = rbuf; - for (sp = ok + 3; !isspace(*sp); sp++) + for (; !isspace(*sp); sp++) *tp++ = *sp; *tp = '\0'; |