aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/filter-driver.c')
-rw-r--r--filter/filter-driver.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/filter/filter-driver.c b/filter/filter-driver.c
index 7e72450f51..95078a8144 100644
--- a/filter/filter-driver.c
+++ b/filter/filter-driver.c
@@ -480,13 +480,6 @@ open_folder(FilterDriver *d, const char *folder_url)
goto fail;
}
- camel_folder_open(camelfolder, FOLDER_OPEN_RW, p->ex);
-
- if (camel_exception_get_id (p->ex)) {
- printf ("Could not open folder: %s: %s", folder, camel_exception_get_description (p->ex));
- goto fail;
- }
-
printf("opening folder: %s\n", folder_url);
g_free(store);
@@ -510,7 +503,7 @@ close_folder(void *key, void *value, void *data)
printf("closing folder: %s\n", key);
g_free(key);
- camel_folder_close(f, TRUE, p->ex);
+ camel_folder_sync(f, FALSE, p->ex);
gtk_object_unref((GtkObject *)f);
}