aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/providers/local/camel-maildir-summary.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 5ba27929be..b14322244f 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,9 @@
2001-03-17 Not Zed <NotZed@Ximian.com>
+ * providers/local/camel-maildir-summary.c (maildir_summary_sync):
+ Modified patch from Dan Berger <dberger@ix.netcom.com> to re-check
+ the maildir directory for new/updated messages at sync time.
+
* camel-folder.c (camel_folder_ref_message_info): Implemented.
(ref_message_info): And default implementation.
diff --git a/camel/providers/local/camel-maildir-summary.c b/camel/providers/local/camel-maildir-summary.c
index a65adafc0f..29310e9115 100644
--- a/camel/providers/local/camel-maildir-summary.c
+++ b/camel/providers/local/camel-maildir-summary.c
@@ -681,6 +681,9 @@ maildir_summary_sync(CamelLocalSummary *cls, gboolean expunge, CamelFolderChange
d(printf("summary_sync(expunge=%s)\n", expunge?"true":"false"));
+ if (camel_local_summary_check(cls, changes, ex) == -1)
+ return -1;
+
if (cls->index) {
ibex_save(cls->index);
}