diff options
author | Not Zed <NotZed@Ximian.com> | 2003-09-09 04:59:01 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-09-09 04:59:01 +0800 |
commit | 562d529982e362f7f9cad2ef34ee503a2a353127 (patch) | |
tree | fa8dc458fcc13252f370a9103e106074f480e040 /camel/providers | |
parent | dc0d7693719aa6a113d3c4960ae467bbd63a02c9 (diff) | |
download | gsoc2013-evolution-562d529982e362f7f9cad2ef34ee503a2a353127.tar.gz 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/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |