Patch: add missing connect unlock in imap connect online
- From: José Dapena Paz <jdapena igalia com>
- To: tinymail-devel-list <tinymail-devel-list gnome org>
- Subject: Patch: add missing connect unlock in imap connect online
- Date: Wed, 14 Jan 2009 12:20:04 +0100
Hi,
This patch adds a missing connect unlock in imap_connect_online, for
the case auth failed. This could make camel queue die without unlocking
the connect lock on time.
Changelog entry:
* libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c:
added a missing connect_unlock in imap_connect_online, when auth
failed.
--
José Dapena Paz <jdapena igalia com>
Igalia
diff --git a/ChangeLog b/ChangeLog
index 44f43fe..c7e183d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-14 Jose Dapena Paz <jdapena igalia com>
+
+ * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c:
+ added a missing connect_unlock in imap_connect_online, when auth
+ failed.
+
2009-01-09 Jose Dapena Paz <jdapena igalia com>
* libtinymail-camel/tny-camel-account.c: initialize properly some
diff --git a/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c b/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c
index ecdac46..882ec1d 100644
--- a/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c
+++ b/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c
@@ -2210,6 +2210,7 @@ imap_connect_online (CamelService *service, CamelException *ex)
}
if (!auth) {
+ camel_imap_store_connect_unlock_no_start_idle (store);
camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE,
_("Authentication failure"));
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]