]> Pileus Git - ~andy/fetchmail/commitdiff
*** empty log message ***
authorEric S. Raymond <esr@thyrsus.com>
Thu, 18 Sep 1997 02:42:03 +0000 (02:42 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 18 Sep 1997 02:42:03 +0000 (02:42 -0000)
svn path=/trunk/; revision=1364

NEWS
driver.c

diff --git a/NEWS b/NEWS
index 2b312850d4c4d818c94bf940a6fab43c7b07379f..e038ee7d70ab3ca255307a6c571a2e349e4989d5 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -19,8 +19,9 @@ fetchmail-4.2.2 ()
 * ETRN mode no longer tries to flush queue for "localhost".
 * Introduced new DNS error return 11 to indicate DNS failure at startup.
 * More portation tweaks for unusual Unixes.
+* Make sure any X-Fetchmail-Error: line is properly terminated.
 
-There are 286 people on the fetchmail-friends list.
+There are 287 people on the fetchmail-friends list.
 
 fetchmail-4.2.1 (Sun Sep 14 16:31:58 EDT 1997)
 * Type and inclusion changes to eliminate warnings on weird Unixes.
index 56046e162fb265daa5e7ad621950bad8ee141f35..fc6f23c49f989461784af9490aceb7ab70c7a70c 100644 (file)
--- a/driver.c
+++ b/driver.c
@@ -447,7 +447,7 @@ static RETSIGTYPE (*sigchld)();
 static int sizeticker;
 
 static int stuffline(struct query *ctl, char *buf)
-/* ship a line to the given control block's SMTP server */
+/* ship a line to the given control block's output sink (SMTP server or MDA) */
 {
     int        n;
 
@@ -1127,6 +1127,8 @@ int num;          /* index of message */
 
        }
 
+       strcat(errmsg, "\n");
+
        /* ship out the error line */
        if (sinkfp)
            stuffline(ctl, errmsg);