aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-folder.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-01-12 12:43:40 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-12 12:43:40 +0800
commit0396b6ca76b4ae9fe4467e14f5cf4963705213ad (patch)
tree08740b14285749620f67a359d0328ce5470e05ae /camel/providers/imap/camel-imap-folder.c
parent410e8fb0a4aa39503f9f01f433b7112238308281 (diff)
downloadgsoc2013-evolution-0396b6ca76b4ae9fe4467e14f5cf4963705213ad.tar
gsoc2013-evolution-0396b6ca76b4ae9fe4467e14f5cf4963705213ad.tar.gz
gsoc2013-evolution-0396b6ca76b4ae9fe4467e14f5cf4963705213ad.tar.bz2
gsoc2013-evolution-0396b6ca76b4ae9fe4467e14f5cf4963705213ad.tar.lz
gsoc2013-evolution-0396b6ca76b4ae9fe4467e14f5cf4963705213ad.tar.xz
gsoc2013-evolution-0396b6ca76b4ae9fe4467e14f5cf4963705213ad.tar.zst
gsoc2013-evolution-0396b6ca76b4ae9fe4467e14f5cf4963705213ad.zip
** See bug 52725.
2004-01-12 Not Zed <NotZed@Ximian.com> ** See bug 52725. * providers/imap/camel-imap-folder.c (get_content): pass in transfer encoding when setting up wrapper part. * providers/imap/camel-imap-wrapper.c (camel_imap_wrapper_new): Added an encoding type parameter, set on data wrapper. svn path=/trunk/; revision=24164
Diffstat (limited to 'camel/providers/imap/camel-imap-folder.c')
-rw-r--r--camel/providers/imap/camel-imap-folder.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index a4c40c6635..465e9949f4 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -1823,7 +1823,10 @@ get_content (CamelImapFolder *imap_folder, const char *uid,
g_free (part_spec);
return content;
} else {
- content = camel_imap_wrapper_new (imap_folder, ci->type, uid, *part_spec ? part_spec : "1", part);
+ CamelTransferEncoding enc;
+
+ enc = ci->encoding?camel_transfer_encoding_from_string(ci->encoding):CAMEL_TRANSFER_ENCODING_DEFAULT;
+ content = camel_imap_wrapper_new (imap_folder, ci->type, enc, uid, *part_spec ? part_spec : "1", part);
g_free (part_spec);
return content;
}