aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-multipart-signed.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-09-19 03:02:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-09-19 03:02:15 +0800
commit91195af48f02c220eb2eca29c2ab417faf8a705f (patch)
treec038f47f62273301e6241056556de733d911483f /camel/camel-multipart-signed.c
parent21c57eeb74e30e5c2a42c066889b7ca6cd874d74 (diff)
downloadgsoc2013-evolution-91195af48f02c220eb2eca29c2ab417faf8a705f.tar.gz
gsoc2013-evolution-91195af48f02c220eb2eca29c2ab417faf8a705f.tar.zst
gsoc2013-evolution-91195af48f02c220eb2eca29c2ab417faf8a705f.zip
New function to replace the one from camel-mime-part.c
2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (camel_transfer_encoding_to_string): New function to replace the one from camel-mime-part.c (camel_transfer_encoding_from_string): Same. (camel_content_transfer_encoding_decode): Renamed from camel_header_content_encoding_decode(). * camel-mime-part.c (camel_mime_part_encoding_to_string): Removed. (camel_mime_part_encoding_from_string): Removed. * camel-data-wrapper.[c,h]: updated for CamelTransferEncoding namespace changes * camel-folder-summary.c: updated for CamelTransferEncoding namespace changes * camel-mime-filter-bestenc.[c,h]: updated for CamelTransferEncoding namespace changes * camel-mime-message.c: updated for CamelTransferEncoding namespace changes * camel-mime-part-utils.c: updated for CamelTransferEncoding namespace changes * camel-multipart-signed.c: updated for CamelTransferEncoding namespace changes * camel-smime-context.c: updated for CamelTransferEncoding namespace changes * providers/imapp/camel-imapp-utils.c: updated for CamelTransferEncoding namespace changes * tests/lib/messages.c: updated for CamelTransferEncoding namespace changes * tests/message/test1.c: updated for CamelTransferEncoding namespace changes svn path=/trunk/; revision=22617
Diffstat (limited to 'camel/camel-multipart-signed.c')
-rw-r--r--camel/camel-multipart-signed.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-multipart-signed.c b/camel/camel-multipart-signed.c
index 63c48a5b98..c249690ad4 100644
--- a/camel/camel-multipart-signed.c
+++ b/camel/camel-multipart-signed.c
@@ -545,7 +545,7 @@ static void
prepare_sign(CamelMimePart *mime_part)
{
CamelDataWrapper *wrapper;
- CamelMimePartEncodingType encoding;
+ CamelTransferEncoding encoding;
int parts, i;
wrapper = camel_medium_get_content_object (CAMEL_MEDIUM (mime_part));
@@ -561,9 +561,9 @@ prepare_sign(CamelMimePart *mime_part)
} else {
encoding = camel_mime_part_get_encoding(mime_part);
- if (encoding != CAMEL_MIME_PART_ENCODING_BASE64
- && encoding != CAMEL_MIME_PART_ENCODING_QUOTEDPRINTABLE) {
- camel_mime_part_set_encoding(mime_part, CAMEL_MIME_PART_ENCODING_QUOTEDPRINTABLE);
+ if (encoding != CAMEL_TRANSFER_ENCODING_BASE64
+ && encoding != CAMEL_TRANSFER_ENCODING_QUOTEDPRINTABLE) {
+ camel_mime_part_set_encoding(mime_part, CAMEL_TRANSFER_ENCODING_QUOTEDPRINTABLE);
}
}
}