aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog10
-rw-r--r--camel/providers/imap/camel-imap-folder.c3
2 files changed, 12 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index c2268338af..40992db18e 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,13 @@
+2004-01-23 Not Zed <NotZed@Ximian.com>
+
+ * providers/imap/camel-imap-folder.c (IMAP_SMALL_BODY_SIZE):
+ removed the meaningless fixme, a butt-retrieved-number is as good
+ as any in this case.
+ (imap_get_message): revert peterw's change of 2002-07-15, instead
+ of checking for online mode here, let get_message do it when you
+ retrieve the parts. This lets a multi-fetch (i.e. large) message
+ work more betterer in offline mode.
+
2004-01-22 Jeremy Katz <katzj@redhat.com>
* camel-mime-part.c: Fix prototype to be consistent.
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 0347f2a53a..d8bcfcacc9 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -1883,7 +1883,6 @@ get_message (CamelImapFolder *imap_folder, const char *uid,
return msg;
}
-/* FIXME: I pulled this number out of my butt. */
#define IMAP_SMALL_BODY_SIZE 5120
static CamelMimeMessage *
@@ -1936,11 +1935,13 @@ imap_get_message (CamelFolder *folder, const char *uid, CamelException *ex)
(stream = camel_imap_folder_fetch_data (imap_folder, uid, "", TRUE, NULL)))
return get_message_simple (imap_folder, uid, stream, ex);
+#if 0
/* If we're not actually connected and it's not in the cache,
* that's as far as we can go.
*/
if (camel_disco_store_check_online (CAMEL_DISCO_STORE (store), ex) == FALSE)
return NULL;
+#endif
mi = camel_folder_summary_uid (folder->summary, uid);
if (mi == NULL) {