diff options
author | Peter Williams <peterw@ximian.com> | 2001-08-25 06:38:22 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-08-25 06:38:22 +0800 |
commit | 7a67b5c2ff35239e7f53fb94896064af9d3c5d17 (patch) | |
tree | 2b423a547e462fe120240b7bb5b433f626ecd3e5 /camel/camel-mime-part.c | |
parent | 7c6273ec2ee915a55b2a8fbeb1c597a2a0d0282d (diff) | |
download | gsoc2013-evolution-7a67b5c2ff35239e7f53fb94896064af9d3c5d17.tar.gz gsoc2013-evolution-7a67b5c2ff35239e7f53fb94896064af9d3c5d17.tar.zst gsoc2013-evolution-7a67b5c2ff35239e7f53fb94896064af9d3c5d17.zip |
Revert Not Zed's previous commits as they apparently can cause serious
2001-08-24 Peter Williams <peterw@ximian.com>
* Revert Not Zed's previous commits as they apparently can
cause serious data loss for POP3 users.
svn path=/trunk/; revision=12461
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r-- | camel/camel-mime-part.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index a4d9a2eb0d..a6ab3e58d5 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -606,10 +606,10 @@ write_to_stream(CamelDataWrapper *data_wrapper, CamelStream *stream) break; } - if (!data_wrapper->rawtext && header_content_type_is(mp->content_type, "text", "*")) { - charset = header_content_type_param(mp->content_type, "charset"); - if (charset && !(!strcasecmp(charset, "us-ascii") || !strcasecmp(charset, "utf-8"))) { - charenc = (CamelMimeFilter *)camel_mime_filter_charset_new_convert("UTF-8", charset); + if (header_content_type_is (mp->content_type, "text", "*")) { + charset = header_content_type_param (mp->content_type, "charset"); + if (charset && !(!g_strcasecmp (charset, "us-ascii") || !g_strcasecmp (charset, "utf-8"))) { + charenc = (CamelMimeFilter *)camel_mime_filter_charset_new_convert ("UTF-8", charset); } } |