aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-multipart-signed.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-08-16 04:57:30 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-08-16 04:57:30 +0800
commit87b5d92a77b11d4441b786763b5f409d903cf9c3 (patch)
tree81ea1325b20fda4a84d2815e86e684b65304053b /camel/camel-multipart-signed.c
parent405b846e5b5ab98ecb0d1a3545df3972df044730 (diff)
downloadgsoc2013-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-multipart-signed.c')
-rw-r--r--camel/camel-multipart-signed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/camel-multipart-signed.c b/camel/camel-multipart-signed.c
index cc3b493e4a..5b776d7f9d 100644
--- a/camel/camel-multipart-signed.c
+++ b/camel/camel-multipart-signed.c
@@ -84,6 +84,7 @@ camel_multipart_signed_class_init (CamelMultipartSignedClass *camel_multipart_si
/* virtual method overload */
camel_data_wrapper_class->construct_from_stream = construct_from_stream;
camel_data_wrapper_class->write_to_stream = write_to_stream;
+ camel_data_wrapper_class->decode_to_stream = write_to_stream;
camel_data_wrapper_class->set_mime_type_field = set_mime_type_field;
mpclass->add_part = signed_add_part;