diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-25 18:32:42 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-25 18:32:42 +0000 |
commit | 7fd9a29550578849f6b83730f9274f7fc0db626d (patch) | |
tree | ba633739a2cd090ac426d0a932209f97ed6559c7 /driver.c | |
parent | 6ac5da508913c682bb58431e7be6c88ca988c224 (diff) | |
download | fetchmail-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |