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
This commit is contained in:
6
2001-10-16 20:35:49 +00:00
committed by Michael Zucci
parent 1ec9e205a1
commit a009ea9f2d
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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);