aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/mail-send-recv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index 3657cfdfda..500e17e412 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -1014,7 +1014,8 @@ refresh_folders_exec (struct _refresh_folders_msg *m,
}
if (local_error != NULL) {
- g_warning ("Failed to refresh folders: %s", local_error->message);
+ if (!g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
+ g_warning ("Failed to refresh folders: %s", local_error->message);
g_clear_error (&local_error);
}