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-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
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)