aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/filter-driver.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 529cad9031..e39b5c03d1 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-06 Dan Winship <danw@helixcode.com>
+
+ * filter-driver.c (open_folder): Update for folder
+ existence/creation changes.
+
2000-06-02 Christopher James Lahey <clahey@helixcode.com>
* filter-driver.c: Free the exception and the priv struct.
diff --git a/filter/filter-driver.c b/filter/filter-driver.c
index f8e9070e55..7e72450f51 100644
--- a/filter/filter-driver.c
+++ b/filter/filter-driver.c
@@ -474,16 +474,12 @@ open_folder(FilterDriver *d, const char *folder_url)
goto fail;
}
- camelfolder = camel_store_get_folder (camelstore, folder, p->ex);
+ camelfolder = camel_store_get_folder (camelstore, folder, TRUE, 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;
}
- if (!camel_folder_exists(camelfolder, p->ex)) {
- camel_folder_create(camelfolder, p->ex);
- }
-
camel_folder_open(camelfolder, FOLDER_OPEN_RW, p->ex);
if (camel_exception_get_id (p->ex)) {