X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-mime-part.c;h=ff6c1cdf90909adbca32e7e6f6a1a572463e29df;hp=766a1c6788bf654d09b6b8be764c3d9ed4641ee1;hb=b51a8d716cce846c1c6086aaffbebb4ebd36a256;hpb=78b797b192ee0ec5741f49cd3d649bf81519dec5 diff --git a/src/modest-tny-mime-part.c b/src/modest-tny-mime-part.c index 766a1c6..ff6c1cd 100644 --- 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"); + /* See RFC2045 sec 5.2 */ if (!header_content_type) - return NULL; + return g_strdup ("text/plain; charset=us-ascii"); header_content_type = g_strstrip (header_content_type);