projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Partially fixes NB#123740. Export the modest_mail_operation_get_account call in order...
[modest]
/
src
/
modest-tny-mime-part.c
diff --git
a/src/modest-tny-mime-part.c
b/src/modest-tny-mime-part.c
index
766a1c6
..
ff6c1cd
100644
(file)
--- a/
src/modest-tny-mime-part.c
+++ b/
src/modest-tny-mime-part.c
@@
-217,8
+217,9
@@
modest_tny_mime_part_get_headers_content_type (TnyMimePart *part)
header_content_type = modest_tny_mime_part_get_header_value (part, "Content-Type");
header_content_type = modest_tny_mime_part_get_header_value (part, "Content-Type");
+ /* See RFC2045 sec 5.2 */
if (!header_content_type)
if (!header_content_type)
- return NULL;
+ return g_strdup ("text/plain; charset=us-ascii");
header_content_type = g_strstrip (header_content_type);
header_content_type = g_strstrip (header_content_type);