aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/local
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-08-02 13:23:51 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-08-02 13:23:51 +0800
commit39215ce43d46e1c9fdd92913271cec70bd4ac5c5 (patch)
tree2d946dbbd0838e8b09309585f445ef8cdd7cea38 /camel/providers/local
parentd987b48e12054e6eba632387a8639aaab07735cb (diff)
downloadgsoc2013-evolution-39215ce43d46e1c9fdd92913271cec70bd4ac5c5.tar.gz
gsoc2013-evolution-39215ce43d46e1c9fdd92913271cec70bd4ac5c5.tar.zst
gsoc2013-evolution-39215ce43d46e1c9fdd92913271cec70bd4ac5c5.zip
Clear the summary after building the 'removed uid' list.
2002-08-02 Not Zed <NotZed@Ximian.com> * providers/local/camel-mbox-summary.c (mbox_summary_check): Clear the summary after building the 'removed uid' list. svn path=/trunk/; revision=17686
Diffstat (limited to 'camel/providers/local')
-rw-r--r--camel/providers/local/camel-mbox-summary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/local/camel-mbox-summary.c b/camel/providers/local/camel-mbox-summary.c
index e84875aad0..f68709fc73 100644
--- a/camel/providers/local/camel-mbox-summary.c
+++ b/camel/providers/local/camel-mbox-summary.c
@@ -461,7 +461,6 @@ mbox_summary_check(CamelLocalSummary *cls, CamelFolderChangeInfo *changes, Camel
if (st.st_size == 0) {
/* empty? No need to scan at all */
d(printf("Empty mbox, clearing summary\n"));
- camel_folder_summary_clear(s);
count= camel_folder_summary_count(s);
for (i=0;i<count;i++) {
CamelMessageInfo *info = camel_folder_summary_index(s, i);
@@ -471,6 +470,7 @@ mbox_summary_check(CamelLocalSummary *cls, CamelFolderChangeInfo *changes, Camel
camel_folder_summary_info_free(s, info);
}
}
+ camel_folder_summary_clear(s);
ret = 0;
} else {
/* is the summary uptodate? */