diff options
author | Dan Winship <danw@src.gnome.org> | 2000-07-06 09:52:51 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-07-06 09:52:51 +0800 |
commit | 9f381f8245d3de8f05dc3ddc560a635a7ef3f717 (patch) | |
tree | 29949e6322e1ff4b3344cd95c105645907ab7d0f /camel/providers/mbox/camel-mbox-summary.c | |
parent | 2bacfabf6f111883a369011bf88faf8847be15f4 (diff) | |
download | gsoc2013-evolution-9f381f8245d3de8f05dc3ddc560a635a7ef3f717.tar.gz gsoc2013-evolution-9f381f8245d3de8f05dc3ddc560a635a7ef3f717.tar.zst gsoc2013-evolution-9f381f8245d3de8f05dc3ddc560a635a7ef3f717.zip |
remove some non-error case debugging messages.
* remove some non-error case debugging messages.
svn path=/trunk/; revision=3904
Diffstat (limited to 'camel/providers/mbox/camel-mbox-summary.c')
-rw-r--r-- | camel/providers/mbox/camel-mbox-summary.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/camel/providers/mbox/camel-mbox-summary.c b/camel/providers/mbox/camel-mbox-summary.c index 7860d15296..5af28a63e1 100644 --- a/camel/providers/mbox/camel-mbox-summary.c +++ b/camel/providers/mbox/camel-mbox-summary.c @@ -31,12 +31,7 @@ #include <stdlib.h> #define io(x) - -#if 0 -# define d(x) (x) -#else -# define d(x) -#endif +#define d(x) #define CAMEL_MBOX_SUMMARY_VERSION (0x1000) @@ -293,8 +288,6 @@ summary_rebuild (CamelMboxSummary *mbs, off_t offset) int fd; int ok = 0; - printf ("(re)Building summary from %d (%s)\n", (int)offset, mbs->folder_path); - fd = open (mbs->folder_path, O_RDONLY); if (fd == -1) { printf ("%s failed to open: %s", mbs->folder_path, strerror (errno)); @@ -320,7 +313,6 @@ summary_rebuild (CamelMboxSummary *mbs, off_t offset) } else { gtk_object_unref (GTK_OBJECT (mp)); /* end of file - no content? */ - printf("We ran out of file?\n"); return -1; } } @@ -366,10 +358,8 @@ camel_mbox_summary_update (CamelMboxSummary *mbs, off_t offset) if (ret != -1) { if (camel_folder_summary_save((CamelFolderSummary *)mbs) == -1) g_warning("Could not save summary: %s", strerror(errno)); - printf("summary saved\n"); if (mbs->index) ibex_save(mbs->index); - printf("ibex saved\n"); } #endif return ret; @@ -415,7 +405,6 @@ camel_mbox_summary_load (CamelMboxSummary *mbs, int forceindex) #endif /* is the summary uptodate? */ if (st.st_size == mbs->folder_size && st.st_mtime == s->time) { - printf ("Summary time and date match mbox\n"); if (minstart < st.st_size) { /* FIXME: Only clear the messages and reindex from this point forward */ printf ("REBUILDING SUMMARY: Index file is incomplete.\n"); @@ -446,13 +435,10 @@ camel_mbox_summary_load (CamelMboxSummary *mbs, int forceindex) if (ret != -1) { mbs->folder_size = st.st_size; s->time = st.st_mtime; - printf ("saving summary\n"); if (camel_folder_summary_save (s) == -1) g_warning("Could not save summary: %s", strerror (errno)); - printf ("summary saved\n"); if (mbs->index) ibex_save (mbs->index); - printf ("ibex saved\n"); } return ret; |