aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-store.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index 2c2d051420..b3d98db759 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -1851,11 +1851,10 @@ imap_keepalive (CamelRemoteStore *store)
/* Note: the idea here is to sync the flags of our currently
selected folder if there have been changes... */
- ex = NULL;
- /*ex = camel_exception_new();*/
+ ex = camel_exception_new();
if (imap_store->current_folder && folder_flags_have_changed (imap_store->current_folder)) {
camel_folder_sync (imap_store->current_folder, FALSE, ex);
- /*camel_exception_clear(ex);*/
+ camel_exception_clear(ex);
}
/* ...but we also want to NOOP so that we get an untagged response. */
@@ -1867,5 +1866,5 @@ imap_keepalive (CamelRemoteStore *store)
CAMEL_IMAP_STORE_UNLOCK (store, command_lock);
- /*camel_exception_free(ex);*/
+ camel_exception_free(ex);
}