From 0b56ab81af06f7efe35285a70944b724b0981d1c Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 25 Aug 1998 03:08:30 +0000 Subject: Handle Debian bug. svn path=/trunk/; revision=2054 --- driver.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index b7348a57..03ae4933 100644 --- a/driver.c +++ b/driver.c @@ -1350,11 +1350,16 @@ int num; /* index of message */ */ if ((rcv = strstr(headers, "Received:")) == (char *)NULL) rcv = headers; + /* handle ">Received:" lines too */ + while (rcv > headers && rcv[-1] != '\n') + rcv--; if (rcv > headers) { + char c = *rcv; + *rcv = '\0'; n = stuffline(ctl, headers); - *rcv = 'R'; + *rcv = c; } if (!run.invisible && n != -1) { -- cgit v1.2.3