From a009ea9f2d21e7d851fe0952a75e2183cf1ea74d Mon Sep 17 00:00:00 2001 From: 6 Date: Tue, 16 Oct 2001 20:35:49 +0000 Subject: If no content, dont try and decode further and spit meaningless warnings. 2001-10-16 * camel-mime-utils.c (header_address_decode): If no content, dont try and decode further and spit meaningless warnings. svn path=/trunk/; revision=13702 --- camel/ChangeLog | 5 +++++ camel/camel-mime-utils.c | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'camel') 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 + + * camel-mime-utils.c (header_address_decode): If no content, dont + try and decode further and spit meaningless warnings. + 2001-10-16 Jeffrey Stedfast * 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); -- cgit