From 012cc2eecb4b685829467685c88aae3826e2adb7 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 7 Jun 2000 00:06:43 +0000 Subject: Update for folder existence/creation changes. * filter-driver.c (open_folder): Update for folder existence/creation changes. svn path=/trunk/; revision=3454 --- filter/ChangeLog | 5 +++++ filter/filter-driver.c | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'filter') 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 + + * filter-driver.c (open_folder): Update for folder + existence/creation changes. + 2000-06-02 Christopher James Lahey * 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)) { -- cgit v1.2.3