From fbcdf475521aaf13049ddc7c9f96bb0c9ed9b870 Mon Sep 17 00:00:00 2001 From: bertrand Date: Sun, 23 Jan 2000 01:45:49 +0000 Subject: use the real summary file path instead of a stupid hardcoded one. Fixes 2000-01-22 bertrand * camel/providers/mbox/camel-mbox-folder.c (_check_get_or_maybe_generate_summary_file): use the real summary file path instead of a stupid hardcoded one. Fixes yet another bug. * camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary): don't forget to copy the date too. Fix a very annoying bug. * camel/providers/mbox/camel-mbox-folder.c (_append_message): implemented. A lot of fixes too. Works now. (_get_uid_list): implemented. svn path=/trunk/; revision=1609 --- camel/providers/mbox/camel-mbox-utils.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'camel/providers/mbox/camel-mbox-utils.c') diff --git a/camel/providers/mbox/camel-mbox-utils.c b/camel/providers/mbox/camel-mbox-utils.c index b8b11495ea..52de0d526e 100644 --- a/camel/providers/mbox/camel-mbox-utils.c +++ b/camel/providers/mbox/camel-mbox-utils.c @@ -250,7 +250,7 @@ camel_mbox_write_xev (gchar *mbox_file_name, cur_msg_info = (CamelMboxParserMessageInfo *)(summary_information->data) + cur_msg; end_of_last_message = cur_msg_info->message_position + cur_msg_info->size; - printf ("End of last message : %ld\n", end_of_last_message); + if (cur_msg_info->uid == 0) { bytes_to_copy = cur_msg_info->message_position @@ -370,6 +370,9 @@ parsed_information_to_mbox_summary (GArray *parsed_information) cur_sum_info->to = cur_msg_info->to; cur_msg_info->to = NULL; + + cur_sum_info->date = cur_msg_info->date; + cur_msg_info->date = NULL; } -- cgit v1.2.3