aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-10-18 12:33:33 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-10-18 12:33:33 +0000
commit02966255e9ce9a31f534a9f44f7e28d65b315c47 (patch)
treec4790997802e3830753618fda18fa005071c81aa
parent4c99804a176a816cb1f2d46e1dc401135a3a9d70 (diff)
downloadfetchmail-02966255e9ce9a31f534a9f44f7e28d65b315c47.tar.gz
fetchmail-02966255e9ce9a31f534a9f44f7e28d65b315c47.tar.bz2
fetchmail-02966255e9ce9a31f534a9f44f7e28d65b315c47.zip
Free fix to re-enable some text in error messages.
svn path=/trunk/; revision=3744
-rw-r--r--NEWS2
-rw-r--r--transact.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 395da806..f2c52e8c 100644
--- 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:
diff --git a/transact.c b/transact.c
index c0f79253..82729aa6 100644
--- a/transact.c
+++ b/transact.c
@@ -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);
}