aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-09-07 01:18:08 +0800
committerMilan Crha <mcrha@redhat.com>2010-09-07 01:18:08 +0800
commit13241ca42c48609d94a88820cafb907c848d4823 (patch)
tree7c4c41cd1030c1d8fac096bcf27f54389b3e5b63 /mail/mail-tools.c
parent30ff1092a6133efc218b6777f0cca1d59b4c6306 (diff)
downloadgsoc2013-evolution-13241ca42c48609d94a88820cafb907c848d4823.tar.gz
gsoc2013-evolution-13241ca42c48609d94a88820cafb907c848d4823.tar.zst
gsoc2013-evolution-13241ca42c48609d94a88820cafb907c848d4823.zip
Bug #627952 - 'Local delivery' mbox's aren't read properly
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r--mail/mail-tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c
index 25eaac5f44..fe7557d731 100644
--- a/mail/mail-tools.c
+++ b/mail/mail-tools.c
@@ -171,7 +171,7 @@ mail_tool_do_movemail (const gchar *source_url, GError **error)
return NULL;
/* Movemail from source (source_url) to dest_path */
- success = camel_movemail (uri->path, dest_path, error);
+ success = camel_movemail (uri->path, dest_path, error) != -1;
camel_url_free(uri);
if (g_stat (dest_path, &sb) < 0 || sb.st_size == 0) {