From ffc82c690f370ed07611d1d0f9a0885395048527 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 4 Nov 1996 15:06:10 +0000 Subject: Don't append a spurious NUL to the headers. svn path=/trunk/; revision=475 --- NEWS | 2 +- driver.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/NEWS b/NEWS index aea4bdc2..1f16202c 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,7 @@ Release Notes: pl 1.9.8 (Fri Nov 1 13:24:21 EST 1996): -* No more committing seppuku -- connect(2) was buggy, we have a workaround! +* Don't append spurious NUL to the headers, qmail actually notices it. pl 1.9.7 (Fri Nov 1 10:02:34 EST 1996): * %s is back. Seems some popular MDAs actually choke on name arguments. diff --git a/driver.c b/driver.c index 30985b4e..b060885f 100644 --- a/driver.c +++ b/driver.c @@ -690,7 +690,6 @@ struct query *ctl; /* query control record */ for (cp = headers; cp < headers + oldlen; cp++) if (*cp == '\r') *cp = '\n'; - headers[oldlen++] = '\0'; /* replace all LFs with CR-LF before sending to the SMTP server */ if (!ctl->mda[0]) -- cgit v1.2.3