aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/mbox
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-06 09:52:51 +0800
committerDan Winship <danw@src.gnome.org>2000-07-06 09:52:51 +0800
commit9f381f8245d3de8f05dc3ddc560a635a7ef3f717 (patch)
tree29949e6322e1ff4b3344cd95c105645907ab7d0f /camel/providers/mbox
parent2bacfabf6f111883a369011bf88faf8847be15f4 (diff)
downloadgsoc2013-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.c4
-rw-r--r--camel/providers/mbox/camel-mbox-summary.c16
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;
>1-1/+1 * Reset peter.thoenen@yahoo.com at his request; he is moving and willlinimon2010-01-261-1/+1 * Chase libgmp and bump PORTREVISION.ale2009-05-131-1/+1 * Spell NOPORTDOCS corretly.itetcu2009-05-121-2/+1 * - Update ImageMagick to 6.4.9.2mm2009-02-111-2/+2 * - Remove conditional checks for FreeBSD 5.x and olderpav2009-01-071-4/+0 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1 * - s/NOPORTDOC/NOPORTDOCSmiwi2008-05-311-2/+2 * - Update to 200805.r1miwi2008-05-313-23/+5 * - Chase graphics/ImageMagick shlib version bumpmiwi2008-04-221-1/+2 * - Update to 200710.r1miwi2007-10-243-5/+21 * - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptrafan2007-07-231-1/+1 * - Update to 200701.r1miwi2007-01-28