aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog1
-rw-r--r--camel/providers/imap/camel-imap-store.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 8590b77982..f3b4e4c5d3 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -11,6 +11,7 @@
(get_subscribed_folders_by_hand): If LISTing a subscribed folder
doesn't return a LIST response, just ignore that folder. Yay
RFC2060.
+ (subscribe_folder): add a missing UNLOCK
2001-01-19 Kjartan Maraas <kmaraas@gnome.org>
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index 0ed99e8f8c..f36d5fa797 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -933,6 +933,7 @@ subscribe_folder (CamelStore *store, const char *folder_name,
CAMEL_IMAP_STORE_LOCK(imap_store, command_lock);
response = camel_imap_command (imap_store, NULL, ex,
"SUBSCRIBE %S", folder_name);
+ CAMEL_IMAP_STORE_UNLOCK(imap_store, command_lock);
if (response) {
g_hash_table_insert (imap_store->subscribed_folders,
g_strdup (folder_name),