diff options
author | Dan Winship <danw@src.gnome.org> | 2000-06-07 08:06:43 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-06-07 08:06:43 +0800 |
commit | 012cc2eecb4b685829467685c88aae3826e2adb7 (patch) | |
tree | 4d28fd4e8414fe871e2f8a6b9802b512be46d4e3 | |
parent | 4d5427769cfec587d9b8f727bd57ac1a1d2ae340 (diff) | |
download | gsoc2013-evolution-012cc2eecb4b685829467685c88aae3826e2adb7.tar gsoc2013-evolution-012cc2eecb4b685829467685c88aae3826e2adb7.tar.gz gsoc2013-evolution-012cc2eecb4b685829467685c88aae3826e2adb7.tar.bz2 gsoc2013-evolution-012cc2eecb4b685829467685c88aae3826e2adb7.tar.lz gsoc2013-evolution-012cc2eecb4b685829467685c88aae3826e2adb7.tar.xz gsoc2013-evolution-012cc2eecb4b685829467685c88aae3826e2adb7.tar.zst gsoc2013-evolution-012cc2eecb4b685829467685c88aae3826e2adb7.zip |
Update for folder existence/creation changes.
* filter-driver.c (open_folder): Update for folder
existence/creation changes.
svn path=/trunk/; revision=3454
-rw-r--r-- | filter/ChangeLog | 5 | ||||
-rw-r--r-- | filter/filter-driver.c | 6 |
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)) { |