aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-25 18:32:42 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-25 18:32:42 +0000
commit7fd9a29550578849f6b83730f9274f7fc0db626d (patch)
treeba633739a2cd090ac426d0a932209f97ed6559c7 /driver.c
parent6ac5da508913c682bb58431e7be6c88ca988c224 (diff)
downloadfetchmail-7fd9a29550578849f6b83730f9274f7fc0db626d.tar.gz
fetchmail-7fd9a29550578849f6b83730f9274f7fc0db626d.tar.bz2
fetchmail-7fd9a29550578849f6b83730f9274f7fc0db626d.zip
Prevent lossage on systems that do CR->LF mapping.
svn path=/trunk/; revision=1414
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c4
1 files changed, 2 insertions, 2 deletions
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 */