]> Pileus Git - ~andy/fetchmail/commitdiff
Free fix to re-enable some text in error messages.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 18 Oct 2002 12:33:33 +0000 (12:33 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 18 Oct 2002 12:33:33 +0000 (12:33 -0000)
svn path=/trunk/; revision=3744

NEWS
transact.c

diff --git a/NEWS b/NEWS
index 395da806c3b9be17cfe03f6f5195f7f88b6f7fc7..f2c52e8cb62e37180dbe9827c8cd74f401eb8110 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,8 @@
 * New Danish, Turkish, and Catalan translation files.
 * Improved ODMR debug messages.
 * IMAP efficiency hack; don't fetch sizes unless needed.
+* Detect and rwerite invalid return paths beginning with @.
+* Fix for subtle freeing bug that suppressed information in some bounce msgs.
 
 fetchmail-6.1.0 (Sun Sep 22 18:31:23 EDT 2002), 21999 lines:
 
index c0f79253bdeea17b287fc6b8394d1fd07bae760f..82729aa6b9fa6cbb1954fdd4bbb4305e94f08019 100644 (file)
@@ -388,6 +388,7 @@ int readheaders(int sock,
      */
     if (msgblk.headers)
        free(msgblk.headers);
+    free_str_list(&msgblk.recipients);
 
     /* initially, no message ID */
     if (ctl->thisid)
@@ -1232,8 +1233,6 @@ int readheaders(int sock,
     *cp++ = '\0';
     stuffline(ctl, buf);
 
-/*    free(msgblk.headers); */
-    free_str_list(&msgblk.recipients);
     return(headers_ok ? PS_SUCCESS : PS_TRUNCATED);
 }