aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-03-03 21:11:41 +0800
committerMilan Crha <mcrha@redhat.com>2011-03-03 21:13:33 +0800
commitf1e416438026e495a29ca36715e27964f7dc4b04 (patch)
tree6c85cc847fc857634870bc5dd644a3be342f2c3a /mail/mail-ops.c
parent0be641ea82d61a5967d4f34dde9bc3bbbb9aa7cf (diff)
downloadgsoc2013-evolution-f1e416438026e495a29ca36715e27964f7dc4b04.tar.gz
gsoc2013-evolution-f1e416438026e495a29ca36715e27964f7dc4b04.tar.zst
gsoc2013-evolution-f1e416438026e495a29ca36715e27964f7dc4b04.zip
Bug #643218 - Local delivery doesn't deliver after maildir migration
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 920b8bca73..79fce90458 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -241,7 +241,7 @@ fetch_mail_exec (struct _fetch_mail_msg *m,
/* FIXME: this should support keep_on_server too, which would then perform a spool
access thingy, right? problem is matching raw messages to uid's etc. */
- if (!strncmp (m->source_uri, "maildir:", 5)) {
+ if (em_utils_is_local_delivery_mbox_file (m->source_uri)) {
gchar *path = mail_tool_do_movemail (m->source_uri, error);
if (path && (!error || !*error)) {