aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-mime-utils.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 0cbe6a4fdb..5fa452537c 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-16 <NotZed@Ximian.com>
+
+ * camel-mime-utils.c (header_address_decode): If no content, dont
+ try and decode further and spit meaningless warnings.
+
2001-10-16 Jeffrey Stedfast <fejj@ximian.com>
* camel-filter-driver.c (do_flag): Only perform the operation on
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index 451c9c8854..a76db94767 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -2803,6 +2803,10 @@ header_address_decode(const char *in)
if (in == NULL)
return NULL;
+ header_decode_lwsp(&inptr);
+ if (*inptr == 0)
+ return NULL;
+
do {
last = inptr;
addr = header_decode_address(&inptr);