aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-04 15:06:10 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-04 15:06:10 +0000
commitffc82c690f370ed07611d1d0f9a0885395048527 (patch)
tree56b94ef90c01c3f72650da1f6ee398bb1268ccfe
parent36c8204ae4c5abf228f75c58026edf40706d8e6d (diff)
downloadfetchmail-ffc82c690f370ed07611d1d0f9a0885395048527.tar.gz
fetchmail-ffc82c690f370ed07611d1d0f9a0885395048527.tar.bz2
fetchmail-ffc82c690f370ed07611d1d0f9a0885395048527.zip
Don't append a spurious NUL to the headers.
svn path=/trunk/; revision=475
-rw-r--r--NEWS2
-rw-r--r--driver.c1
2 files changed, 1 insertions, 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])