aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers')
-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? */