aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-03-03 21:11:41 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:41 +0800
commiteac4adfbf61b7f090db0713dbdaa5f4dd081e751 (patch)
tree109c0ca0d10d60842c2edee9be38579804c0feb8 /mail/mail-ops.c
parentc1b409dd42acae66ad166b68e3a7c987a1a6ce46 (diff)
downloadgsoc2013-evolution-eac4adfbf61b7f090db0713dbdaa5f4dd081e751.tar
gsoc2013-evolution-eac4adfbf61b7f090db0713dbdaa5f4dd081e751.tar.gz
gsoc2013-evolution-eac4adfbf61b7f090db0713dbdaa5f4dd081e751.tar.bz2
gsoc2013-evolution-eac4adfbf61b7f090db0713dbdaa5f4dd081e751.tar.lz
gsoc2013-evolution-eac4adfbf61b7f090db0713dbdaa5f4dd081e751.tar.xz
gsoc2013-evolution-eac4adfbf61b7f090db0713dbdaa5f4dd081e751.tar.zst
gsoc2013-evolution-eac4adfbf61b7f090db0713dbdaa5f4dd081e751.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)) {