diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-12-19 19:43:59 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-12-19 19:43:59 +0000 |
commit | 2815b70eaa6f8722598fc2f0ad62b6cbbe430c2d (patch) | |
tree | 144a2c60d05e867f20a910defd19ca854dd8c83a /sink.c | |
parent | 417ed3307c628d8c8daad2da6a594f1fbf6015a3 (diff) | |
download | fetchmail-2815b70eaa6f8722598fc2f0ad62b6cbbe430c2d.tar.gz fetchmail-2815b70eaa6f8722598fc2f0ad62b6cbbe430c2d.tar.bz2 fetchmail-2815b70eaa6f8722598fc2f0ad62b6cbbe430c2d.zip |
Minor corrections.
svn path=/trunk/; revision=2286
Diffstat (limited to 'sink.c')
-rw-r--r-- | sink.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -288,7 +288,7 @@ static int send_bouncemail(struct msgblk *msg, SockPrintf(sock, "From: FETCHMAIL-DAEMON@%s\r\n", fetchmailhost); SockPrintf(sock, "To: %s\n", msg->return_path); SockPrintf(sock, "MIME-Version: 1.0\r\n"); - SockPrintf(sock, "Content-Type: multipart/report; report-type=delivery-status boundary=\"%s\"\r\n", boundary); + SockPrintf(sock, "Content-Type: multipart/report; report-type=delivery-status; boundary=\"%s\"\r\n", boundary); SockPrintf(sock, "\r\n"); SockPrintf(sock, "Content-Transfer-Encoding: 7bit\r\n"); SockPrintf(sock, "\r\n"); @@ -299,6 +299,7 @@ static int send_bouncemail(struct msgblk *msg, SockPrintf(sock, "\r\n"); SockWrite(sock, message, strlen(message)); SockPrintf(sock, "\r\n"); + SockPrintf(sock, "\r\n"); if (nerrors) { @@ -307,7 +308,7 @@ static int send_bouncemail(struct msgblk *msg, SockPrintf(sock,"Content-Type: message/delivery-status\r\n"); SockPrintf(sock, "\r\n"); for (i = 0; i < nerrors; i++) - SockPrintf(sock, errors[i]); + SockPrintf(sock, "%s\r\n", errors[i]); SockPrintf(sock, "\r\n"); } |