aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-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) {