From 7fd9a29550578849f6b83730f9274f7fc0db626d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 25 Sep 1997 18:32:42 +0000 Subject: Prevent lossage on systems that do CR->LF mapping. svn path=/trunk/; revision=1414 --- driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index c5fec073..8c5f3b49 100644 --- a/driver.c +++ b/driver.c @@ -1060,7 +1060,7 @@ int num; /* index of message */ /* write a line describing fetchmail's processing of the message */ sprintf(buf, - "Received: from %s\r\n\tby %s (fetchmail-%s %s run by %s)\r\n", + "Received: from %s\n\tby %s (fetchmail-%s %s run by %s)\n", ctl->server.truename, fetchmailhost, RELEASE_ID, @@ -1084,7 +1084,7 @@ int num; /* index of message */ } time(&now); strcat(buf, ctime(&now)); - strcpy(buf + strlen(buf) - 1, "\r\n"); + strcpy(buf + strlen(buf) - 1, "\n"); } /* ship out the synthetic Received line and the headers */ -- cgit v1.2.3