From b167baaa3d914d634d72864baab45d1a3184779c Mon Sep 17 00:00:00 2001 From: Not Zed Date: Sat, 17 Mar 2001 09:25:29 +0000 Subject: Modified patch from Dan Berger to re-check the 2001-03-17 Not Zed * providers/local/camel-maildir-summary.c (maildir_summary_sync): Modified patch from Dan Berger to re-check the maildir directory for new/updated messages at sync time. svn path=/trunk/; revision=8781 --- camel/ChangeLog | 4 ++++ camel/providers/local/camel-maildir-summary.c | 3 +++ 2 files changed, 7 insertions(+) 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 + * providers/local/camel-maildir-summary.c (maildir_summary_sync): + Modified patch from Dan Berger 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); } -- cgit