diff options
-rw-r--r-- | camel/ChangeLog | 3 | ||||
-rw-r--r-- | camel/providers/local/camel-mbox-summary.c | 2 |
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? */ |