diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-03-16 03:33:17 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-03-16 03:33:17 +0800 |
commit | ae8d1fe9e2e669d947c6198cb0707ef53139511b (patch) | |
tree | d0e20dfdab175e1c6592ba02f2ce081253c2ab90 /camel/providers | |
parent | e7743c847dccdf0673a791fc797f06f47e53167a (diff) | |
download | gsoc2013-evolution-ae8d1fe9e2e669d947c6198cb0707ef53139511b.tar gsoc2013-evolution-ae8d1fe9e2e669d947c6198cb0707ef53139511b.tar.gz gsoc2013-evolution-ae8d1fe9e2e669d947c6198cb0707ef53139511b.tar.bz2 gsoc2013-evolution-ae8d1fe9e2e669d947c6198cb0707ef53139511b.tar.lz gsoc2013-evolution-ae8d1fe9e2e669d947c6198cb0707ef53139511b.tar.xz gsoc2013-evolution-ae8d1fe9e2e669d947c6198cb0707ef53139511b.tar.zst gsoc2013-evolution-ae8d1fe9e2e669d947c6198cb0707ef53139511b.zip |
If the initial SELECT fails and CREATE is specified, clear the exception
2004-03-15 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c (get_folder_online): If the
initial SELECT fails and CREATE is specified, clear the exception
before attempting to CREATE, this way we don't have an exception
set even if the CREATE passes. Fixes bug #55607.
svn path=/trunk/; revision=25078
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index c0c77e96c7..f5f13d8883 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -1762,7 +1762,9 @@ get_folder_online (CamelStore *store, const char *folder_name, guint32 flags, Ca CAMEL_SERVICE_UNLOCK (imap_store, connect_lock); return NULL; } - + + camel_exception_clear (ex); + if (!flags & CAMEL_STORE_FOLDER_CREATE) { CAMEL_SERVICE_UNLOCK (imap_store, connect_lock); camel_exception_setv (ex, CAMEL_EXCEPTION_STORE_NO_FOLDER, |