aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r--mail/mail-send-recv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index 972262d267..9d00ec8f58 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -744,11 +744,13 @@ refresh_folders_get (struct _mail_msg *mm)
struct _refresh_folders_msg *m = (struct _refresh_folders_msg *)mm;
int i;
CamelFolder *folder;
+ CamelException ex = CAMEL_EXCEPTION_INITIALISER;
for (i=0;i<m->folders->len;i++) {
folder = mail_tool_uri_to_folder(m->folders->pdata[i], 0, NULL);
if (folder) {
- camel_folder_refresh_info(folder, NULL);
+ camel_folder_refresh_info(folder, &ex);
+ camel_exception_clear(&ex);
camel_object_unref(folder);
}
if (camel_operation_cancel_check(m->info->cancel))