diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/camel-mime-parser.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 7d1a4c82e5..df4ae24db4 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2003-01-14 Not Zed <NotZed@Ximian.com> + + * camel-mime-parser.c (folder_scan_step): If we have no + content-type header, set it to text/plain explcitly, rather than + NULL, because some code doesn't handle NULL. + 2003-01-14 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-gssapi.[c,h]: New source files implementing the diff --git a/camel/camel-mime-parser.c b/camel/camel-mime-parser.c index 401d97b836..a9f7704cca 100644 --- a/camel/camel-mime-parser.c +++ b/camel/camel-mime-parser.c @@ -1693,6 +1693,8 @@ tail_recurse: d(printf("parent was multipart/digest, autoupgrading to message/rfc822?\n")); /* maybe we should do this too? header_raw_append_parse(&h->headers, "Content-Type: message/rfc822", -1);*/ + } else { + ct = header_content_type_decode("text/plain"); } } h->content_type = ct; |