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 | |
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')
-rw-r--r-- | camel/providers/mbox/camel-mbox-folder.c | 4 | ||||
-rw-r--r-- | camel/providers/mbox/camel-mbox-summary.c | 16 |
2 files changed, 1 insertions, 19 deletions
diff --git a/camel/providers/mbox/camel-mbox-folder.c b/camel/providers/mbox/camel-mbox-folder.c index 63d0d2cfb9..d7ee9c2376 100644 --- a/camel/providers/mbox/camel-mbox-folder.c +++ b/camel/providers/mbox/camel-mbox-folder.c @@ -211,9 +211,7 @@ mbox_init (CamelFolder *folder, CamelStore *parent_store, /* if we have no index file, force it */ forceindex = stat(mbox_folder->index_file_path, &st) == -1; - printf("loading ibex\n"); mbox_folder->index = ibex_open(mbox_folder->index_file_path, O_CREAT|O_RDWR, 0600); - printf("loaded ibex\n"); if (mbox_folder->index == NULL) { /* yes, this isn't fatal at all */ g_warning("Could not open/create index file: %s: indexing not performed", @@ -221,7 +219,6 @@ mbox_init (CamelFolder *folder, CamelStore *parent_store, } /* no summary (disk or memory), and we're proverbially screwed */ - printf("loading summary\n"); mbox_folder->summary = camel_mbox_summary_new (mbox_folder->summary_file_path, mbox_folder->folder_file_path, mbox_folder->index); if (mbox_folder->summary == NULL @@ -231,7 +228,6 @@ mbox_init (CamelFolder *folder, CamelStore *parent_store, "Could not create summary"); return; } - printf("summary loaded\n"); } static void 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; |