diff options
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r-- | camel/camel-folder-summary.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c index 027984e7ef..18605fb551 100644 --- a/camel/camel-folder-summary.c +++ b/camel/camel-folder-summary.c @@ -306,22 +306,16 @@ camel_folder_summary_load(CamelFolderSummary *s) g_assert(s->summary_path); - printf("loading summary\n"); - in = fopen(s->summary_path, "r"); if ( in == NULL ) { return -1; } - printf("loading header\n"); - if ( ((CamelFolderSummaryClass *)((GtkObject *)s)->klass)->summary_header_load(s, in) == -1) { fclose(in); return -1; } - printf("loading content\n"); - /* now read in each message ... */ /* FIXME: check returns */ for (i=0;i<s->saved_count;i++) { @@ -369,14 +363,8 @@ camel_folder_summary_save(CamelFolderSummary *s) g_assert(s->summary_path); - printf("saving summary? '%s'\n", s->summary_path); - - if ((s->flags & CAMEL_SUMMARY_DIRTY) == 0) { - printf("nup\n"); + if ((s->flags & CAMEL_SUMMARY_DIRTY) == 0) return 0; - } - - printf("yep\n"); fd = open(s->summary_path, O_RDWR|O_CREAT, 0600); if (fd == -1) |