aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-01-20 05:34:42 +0800
committerDan Winship <danw@src.gnome.org>2001-01-20 05:34:42 +0800
commite0ca9fc3346b8f27aefc63a9cc458ff437f2ff63 (patch)
tree616fc48f97d7177e68e6e84d74345202643fd57e
parentcbbf537929f9630fdd254b04454a23de4ed4dbb2 (diff)
downloadgsoc2013-evolution-e0ca9fc3346b8f27aefc63a9cc458ff437f2ff63.tar
gsoc2013-evolution-e0ca9fc3346b8f27aefc63a9cc458ff437f2ff63.tar.gz
gsoc2013-evolution-e0ca9fc3346b8f27aefc63a9cc458ff437f2ff63.tar.bz2
gsoc2013-evolution-e0ca9fc3346b8f27aefc63a9cc458ff437f2ff63.tar.lz
gsoc2013-evolution-e0ca9fc3346b8f27aefc63a9cc458ff437f2ff63.tar.xz
gsoc2013-evolution-e0ca9fc3346b8f27aefc63a9cc458ff437f2ff63.tar.zst
gsoc2013-evolution-e0ca9fc3346b8f27aefc63a9cc458ff437f2ff63.zip
(subscribe_folder): add a missing UNLOCK
svn path=/trunk/; revision=7657
-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),