aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-09-12 01:59:20 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-09-12 01:59:20 +0800
commite413c307c23fa65f910038b604422299c6d6a0ea (patch)
treeffbbbc0a531a314cc4d4e247d96f08e9c48b43f2
parentb59fed9ec4bfac97b5afce2f810aabd6383e2c76 (diff)
downloadgsoc2013-evolution-e413c307c23fa65f910038b604422299c6d6a0ea.tar.gz
gsoc2013-evolution-e413c307c23fa65f910038b604422299c6d6a0ea.tar.zst
gsoc2013-evolution-e413c307c23fa65f910038b604422299c6d6a0ea.zip
If we're fetching from an mbox formatted file then we need to do some
2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_fetch_mail): If we're fetching from an mbox formatted file then we need to do some special-casing. svn path=/trunk/; revision=5329
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-ops.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 624727e1b0..3c9634948f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-11 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * mail-ops.c (do_fetch_mail): If we're fetching from an mbox
+ formatted file then we need to do some special-casing.
+
2000-09-11 Christopher James Lahey <clahey@helixcode.com>
* mail-display.c: Fixed some warnings.
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 082e64fd28..482bfd430e 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -123,7 +123,10 @@ do_fetch_mail (gpointer in_data, gpointer op_data, CamelException *ex)
return;
}
- folder = mail_tool_get_inbox (input->source_url, ex);
+ if (!strncmp (input->source_url, "mbox:", 5))
+ folder = mail_tool_do_movemail (input->source_url, ex);
+ else
+ folder = mail_tool_get_inbox (input->source_url, ex);
if (folder == NULL) {
/* This happens with an IMAP source and on error