aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2004-02-24 22:00:31 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-02-24 22:00:31 +0800
commite4e1973fdae8ed4a368380042af8b1628053987e (patch)
treebb341ce7211fa693bd07ff410c7843d986b10c02 /camel
parentf191f9926f335e1bc83c23bb5899a3e84bbd0036 (diff)
downloadgsoc2013-evolution-e4e1973fdae8ed4a368380042af8b1628053987e.tar.gz
gsoc2013-evolution-e4e1973fdae8ed4a368380042af8b1628053987e.tar.zst
gsoc2013-evolution-e4e1973fdae8ed4a368380042af8b1628053987e.zip
kill some debug
svn path=/trunk/; revision=24842
Diffstat (limited to 'camel')
-rw-r--r--camel/providers/local/camel-maildir-store.c9
-rw-r--r--camel/providers/local/camel-mbox-store.c10
2 files changed, 3 insertions, 16 deletions
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);