aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/local/camel-maildir-summary.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-03-17 17:25:29 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-03-17 17:25:29 +0800
commitb167baaa3d914d634d72864baab45d1a3184779c (patch)
treeb45943c8618be44b2f7af2e8be599feb50dd8219 /camel/providers/local/camel-maildir-summary.c
parent22190776d3f7a1fb69b2d8ff72fe80fae21ec63e (diff)
downloadgsoc2013-evolution-b167baaa3d914d634d72864baab45d1a3184779c.tar.gz
gsoc2013-evolution-b167baaa3d914d634d72864baab45d1a3184779c.tar.zst
gsoc2013-evolution-b167baaa3d914d634d72864baab45d1a3184779c.zip
Modified patch from Dan Berger <dberger@ix.netcom.com> to re-check the
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. svn path=/trunk/; revision=8781
Diffstat (limited to 'camel/providers/local/camel-maildir-summary.c')
-rw-r--r--camel/providers/local/camel-maildir-summary.c3
1 files changed, 3 insertions, 0 deletions
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);
}