aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-folder.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-04-10 01:20:56 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-04-10 01:20:56 +0800
commit6999b8224717d556736a87439491fcf1b8a2c73c (patch)
treece68889af3383ad0fa706f484ebf47cd52d98f9c /camel/providers/imap/camel-imap-folder.c
parent65a076f8dc040039769be03e5461506ce43148ab (diff)
downloadgsoc2013-evolution-6999b8224717d556736a87439491fcf1b8a2c73c.tar
gsoc2013-evolution-6999b8224717d556736a87439491fcf1b8a2c73c.tar.gz
gsoc2013-evolution-6999b8224717d556736a87439491fcf1b8a2c73c.tar.bz2
gsoc2013-evolution-6999b8224717d556736a87439491fcf1b8a2c73c.tar.lz
gsoc2013-evolution-6999b8224717d556736a87439491fcf1b8a2c73c.tar.xz
gsoc2013-evolution-6999b8224717d556736a87439491fcf1b8a2c73c.tar.zst
gsoc2013-evolution-6999b8224717d556736a87439491fcf1b8a2c73c.zip
Fix capitalisation of the "mailcheck" section title and move it to the top
2004-04-09 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-provider.c: Fix capitalisation of the "mailcheck" section title and move it to the top (so it matches with the UI). * providers/imap/camel-imap-folder.c (imap_get_message): Fetch the entire message in one fell swoop even if the message size is larger than 5k *if* the message is a single part. Fixes bug #56686. svn path=/trunk/; revision=25387
Diffstat (limited to 'camel/providers/imap/camel-imap-folder.c')
-rw-r--r--camel/providers/imap/camel-imap-folder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 88322ae245..e77d712529 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -2021,8 +2021,8 @@ imap_get_message (CamelFolder *folder, const char *uid, CamelException *ex)
&& !camel_imap_store_connected(store, ex))
goto fail;
- /* If the message is small, fetch it in one piece. */
- if (mi->size < IMAP_SMALL_BODY_SIZE) {
+ /* If the message is small or only 1 part, fetch it in one piece. */
+ if (mi->size < IMAP_SMALL_BODY_SIZE || !mi->content->childs) {
msg = get_message_simple (imap_folder, uid, NULL, ex);
} else {
if (content_info_incomplete (mi->content)) {