aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-03-16 03:33:17 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-03-16 03:33:17 +0800
commitae8d1fe9e2e669d947c6198cb0707ef53139511b (patch)
treed0e20dfdab175e1c6592ba02f2ce081253c2ab90 /camel
parente7743c847dccdf0673a791fc797f06f47e53167a (diff)
downloadgsoc2013-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')
-rw-r--r--camel/ChangeLog7
-rw-r--r--camel/providers/imap/camel-imap-store.c4
2 files changed, 10 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index bdb3eb53c9..3fd5091eb0 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2004-03-16 Not Zed <NotZed@Ximian.com>
* camel-mime-message.c (camel_mime_message_init): rever previous
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,