aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-09-09 04:59:01 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-09-09 04:59:01 +0800
commit562d529982e362f7f9cad2ef34ee503a2a353127 (patch)
treefa8dc458fcc13252f370a9103e106074f480e040 /camel
parentdc0d7693719aa6a113d3c4960ae467bbd63a02c9 (diff)
downloadgsoc2013-evolution-562d529982e362f7f9cad2ef34ee503a2a353127.tar
gsoc2013-evolution-562d529982e362f7f9cad2ef34ee503a2a353127.tar.gz
gsoc2013-evolution-562d529982e362f7f9cad2ef34ee503a2a353127.tar.bz2
gsoc2013-evolution-562d529982e362f7f9cad2ef34ee503a2a353127.tar.lz
gsoc2013-evolution-562d529982e362f7f9cad2ef34ee503a2a353127.tar.xz
gsoc2013-evolution-562d529982e362f7f9cad2ef34ee503a2a353127.tar.zst
gsoc2013-evolution-562d529982e362f7f9cad2ef34ee503a2a353127.zip
call camel_folder_sync bypassing the folder lock. See
2003-09-05 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (imap_noop): call camel_folder_sync bypassing the folder lock. See imap_store_refresh_folders too. svn path=/trunk/; revision=22487
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/imap/camel-imap-store.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 5d88a2cf14..24553b3022 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-05 Not Zed <NotZed@Ximian.com>
+
+ * providers/imap/camel-imap-store.c (imap_noop): call
+ camel_folder_sync bypassing the folder lock. See
+ imap_store_refresh_folders too.
+
2003-09-04 David Woodhouse <dwmw2@infradead.org>
* providers/camel-imap-store.[ch]: Add PREAUTH handling and
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index 14ed76ed1f..a95b1c7c7a 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -1621,8 +1621,8 @@ imap_noop (CamelStore *store, CamelException *ex)
current_folder = imap_store->current_folder;
if (current_folder && imap_summary_is_dirty (current_folder->summary)) {
- /* let's sync the flags instead */
- camel_folder_sync (current_folder, FALSE, ex);
+ /* let's sync the flags instead. NB: must avoid folder lock */
+ ((CamelFolderClass *)((CamelObject *)current_folder)->klass)->sync(current_folder, FALSE, ex);
} else {
response = camel_imap_command (imap_store, NULL, ex, "NOOP");
if (response)