diff options
author | Not Zed <NotZed@Ximian.com> | 2003-08-16 04:57:30 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-08-16 04:57:30 +0800 |
commit | 87b5d92a77b11d4441b786763b5f409d903cf9c3 (patch) | |
tree | 81ea1325b20fda4a84d2815e86e684b65304053b /camel/camel-mime-part.c | |
parent | 405b846e5b5ab98ecb0d1a3545df3972df044730 (diff) | |
download | gsoc2013-evolution-87b5d92a77b11d4441b786763b5f409d903cf9c3.tar gsoc2013-evolution-87b5d92a77b11d4441b786763b5f409d903cf9c3.tar.gz gsoc2013-evolution-87b5d92a77b11d4441b786763b5f409d903cf9c3.tar.bz2 gsoc2013-evolution-87b5d92a77b11d4441b786763b5f409d903cf9c3.tar.lz gsoc2013-evolution-87b5d92a77b11d4441b786763b5f409d903cf9c3.tar.xz gsoc2013-evolution-87b5d92a77b11d4441b786763b5f409d903cf9c3.tar.zst gsoc2013-evolution-87b5d92a77b11d4441b786763b5f409d903cf9c3.zip |
** See bug #47634.
2003-08-15 Not Zed <NotZed@Ximian.com>
** See bug #47634.
* tests/lib/messages.c (test_message_compare): check
write_to_stream returns.
(message_dump_rec): helper to dump message structure.
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): dont set content
encoding here.
(camel_mime_part_construct_content_from_parser): set it here
instead, on every part. basically same as setting the
mime_type_field always.
* camel-multipart-signed.c (camel_multipart_signed_class_init):
* camel-mime-message.c (camel_mime_message_class_init):
* camel-multipart.c (camel_multipart_class_init): override
decode_to_stream to always do the same as write_to_stream, since
we can never be encoded.
svn path=/trunk/; revision=22252
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r-- | camel/camel-mime-part.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index 81036c0571..ac6e357b5b 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -164,7 +164,7 @@ camel_mime_part_init (gpointer object, gpointer klass) mime_part->content_MD5 = NULL; mime_part->content_location = NULL; mime_part->content_languages = NULL; - mime_part->encoding = CAMEL_MIME_PART_ENCODING_DEFAULT; + mime_part->encoding = CAMEL_MIME_PART_ENCODING_DEFAULT; } @@ -238,7 +238,6 @@ process_header(CamelMedium *medium, const char *header_name, const char *header_ mime_part->content_id = header_contentid_decode (header_value); break; case HEADER_ENCODING: - /* FIXME: ignore this if we are a multipart or a message/rfc822 part */ text = header_token_decode (header_value); mime_part->encoding = camel_mime_part_encoding_from_string (text); g_free (text); |