aboutsummaryrefslogtreecommitdiffstats
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
parentd987b48e12054e6eba632387a8639aaab07735cb (diff)
downloadgsoc2013-evolution-39215ce43d46e1c9fdd92913271cec70bd4ac5c5.tar
gsoc2013-evolution-39215ce43d46e1c9fdd92913271cec70bd4ac5c5.tar.gz
gsoc2013-evolution-39215ce43d46e1c9fdd92913271cec70bd4ac5c5.tar.bz2
gsoc2013-evolution-39215ce43d46e1c9fdd92913271cec70bd4ac5c5.tar.lz
gsoc2013-evolution-39215ce43d46e1c9fdd92913271cec70bd4ac5c5.tar.xz
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
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/providers/local/camel-mbox-summary.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index f5132f20cd..4de4145938 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,8 @@
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.
+
* camel-folder-summary.c (message_info_load): revert jeff's patch
below, and do it slightly differently, and stop the auto-reformatting
bullshit.
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? */