From a7acaf216371c2ac58e186c92d713ea1982e26df Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 28 Jan 1997 22:38:00 +0000 Subject: Better envelope-address parsing. svn path=/trunk/; revision=836 --- driver.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/driver.c b/driver.c index 1761275c..afdaf860 100644 --- a/driver.c +++ b/driver.c @@ -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'; -- cgit v1.2.3