diff options
author | 6 <NotZed@Ximian.com> | 2001-10-17 04:35:49 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-17 04:35:49 +0800 |
commit | a009ea9f2d21e7d851fe0952a75e2183cf1ea74d (patch) | |
tree | 6cb6b17f820b8062b54e44f4ab748c0d2ac83583 | |
parent | 1ec9e205a1d1feca0758d94c255bf7483c08b77b (diff) | |
download | gsoc2013-evolution-a009ea9f2d21e7d851fe0952a75e2183cf1ea74d.tar gsoc2013-evolution-a009ea9f2d21e7d851fe0952a75e2183cf1ea74d.tar.gz gsoc2013-evolution-a009ea9f2d21e7d851fe0952a75e2183cf1ea74d.tar.bz2 gsoc2013-evolution-a009ea9f2d21e7d851fe0952a75e2183cf1ea74d.tar.lz gsoc2013-evolution-a009ea9f2d21e7d851fe0952a75e2183cf1ea74d.tar.xz gsoc2013-evolution-a009ea9f2d21e7d851fe0952a75e2183cf1ea74d.tar.zst gsoc2013-evolution-a009ea9f2d21e7d851fe0952a75e2183cf1ea74d.zip |
If no content, dont try and decode further and spit meaningless warnings.
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.
svn path=/trunk/; revision=13702
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-mime-utils.c | 4 |
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); |