From d44875ac5f2dfc7753cc33281c5fc8a866edd0b7 Mon Sep 17 00:00:00 2001 From: bertrand Date: Wed, 19 Jan 2000 04:33:14 +0000 Subject: tests for summary and parsing process of mbox files. 2000-01-18 bertrand * tests/test9.c: tests for summary and parsing process of mbox files. * camel/providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file): do not use case insensitive comp to detect message separators. Kill some nasty bugs in netscape file parsing, * camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary): don't use g_array_append but write directly inside the array data instead. Better performance and bug fix. * camel/providers/mbox/camel-mbox-summary.c (camel_mbox_load_summary): fix the name and bugs. * camel/camel-folder-summary.h: update the class method definition to match the public defs. svn path=/trunk/; revision=1592 --- camel/camel-folder-summary.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel/camel-folder-summary.c') diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c index 4d1745e3b2..fdeec5e13c 100644 --- a/camel/camel-folder-summary.c +++ b/camel/camel-folder-summary.c @@ -65,8 +65,8 @@ camel_folder_summary_init (gpointer object, gpointer klass) CamelFolderSummary *summary = CAMEL_FOLDER_SUMMARY (object); CAMEL_LOG_FULL_DEBUG ( "camel_folder_summary_init:: Entering\n"); - summary->subfolder_info_list = g_array_new (FALSE, FALSE, sizeof (CamelFolderInfo); - summary->message_info_list = g_array_new (FALSE, FALSE, sizeof (CamelMessageInfo); + summary->subfolder_info_list = g_array_new (FALSE, FALSE, sizeof (CamelFolderInfo)); + summary->message_info_list = g_array_new (FALSE, FALSE, sizeof (CamelMessageInfo)); CAMEL_LOG_FULL_DEBUG ( "camel_folder_summary_init:: Leaving\n"); } -- cgit v1.2.3