From e4e1973fdae8ed4a368380042af8b1628053987e Mon Sep 17 00:00:00 2001 From: Michael Zucci Date: Tue, 24 Feb 2004 14:00:31 +0000 Subject: kill some debug svn path=/trunk/; revision=24842 --- camel/providers/local/camel-maildir-store.c | 9 +-------- camel/providers/local/camel-mbox-store.c | 10 ++-------- 2 files changed, 3 insertions(+), 16 deletions(-) (limited to 'camel/providers/local') diff --git a/camel/providers/local/camel-maildir-store.c b/camel/providers/local/camel-maildir-store.c index df17bcd5d9..b0412d3d9a 100644 --- a/camel/providers/local/camel-maildir-store.c +++ b/camel/providers/local/camel-maildir-store.c @@ -255,20 +255,13 @@ fill_fi(CamelStore *store, CamelFolderInfo *fi, guint32 flags) CamelFolderSummary *s; const char *root; - printf("looking up counts from '%s'\n", fi->full_name); - /* This should be fast enough not to have to test for INFO_FAST */ root = camel_local_store_get_toplevel_dir((CamelLocalStore *)store); path = g_strdup_printf("%s/%s.ev-summary", root, fi->full_name); folderpath = g_strdup_printf("%s/%s", root, fi->full_name); s = (CamelFolderSummary *)camel_maildir_summary_new(path, folderpath, NULL); - if (camel_folder_summary_header_load(s) != -1) { + if (camel_folder_summary_header_load(s) != -1) unread = s->unread_count; - printf("loaded summary header unread = %d\n", unread); - } else { - printf("couldn't load summary header?\n"); - } - camel_object_unref(s); g_free(folderpath); g_free(path); diff --git a/camel/providers/local/camel-mbox-store.c b/camel/providers/local/camel-mbox-store.c index 12be516797..fa7a0af527 100644 --- a/camel/providers/local/camel-mbox-store.c +++ b/camel/providers/local/camel-mbox-store.c @@ -613,21 +613,15 @@ fill_fi(CamelStore *store, CamelFolderInfo *fi, guint32 flags) CamelMboxSummary *mbs; const char *root; - printf("looking up counts from '%s'\n", fi->full_name); - /* This should be fast enough not to have to test for INFO_FAST */ root = camel_local_store_get_toplevel_dir((CamelLocalStore *)store); path = camel_mbox_folder_get_meta_path(root, fi->full_name, ".ev-summary"); folderpath = camel_mbox_folder_get_full_path(root, fi->full_name); mbs = (CamelMboxSummary *)camel_mbox_summary_new(path, folderpath, NULL); - if (camel_folder_summary_header_load((CamelFolderSummary *)mbs) != -1) { + if (camel_folder_summary_header_load((CamelFolderSummary *)mbs) != -1) unread = ((CamelFolderSummary *)mbs)->unread_count; - printf("loaded summary header unread = %d\n", unread); - } else { - printf("couldn't load summary header?\n"); - } - + camel_object_unref(mbs); g_free(folderpath); g_free(path); -- cgit