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 | |
parent | dc0d7693719aa6a113d3c4960ae467bbd63a02c9 (diff) | |
download | gsoc2013-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
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 4 |
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) |