From 50087696b4dd83438725bb5bee919f44b4312797 Mon Sep 17 00:00:00 2001 From: Parthasarathi Susarla Date: Wed, 20 Jul 2005 05:38:15 +0000 Subject: [PATCH] ** Fix for bug ** 310953 2005-07-20 Parthasarathi Susarla * camel-groupwise-folder.c: ** Fix for bug ** 310953 --- camel/providers/groupwise/ChangeLog | 5 +++++ camel/providers/groupwise/camel-groupwise-folder.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/camel/providers/groupwise/ChangeLog b/camel/providers/groupwise/ChangeLog index ddd1283..150e9c5 100644 --- a/camel/providers/groupwise/ChangeLog +++ b/camel/providers/groupwise/ChangeLog @@ -1,3 +1,8 @@ +2005-07-20 Parthasarathi Susarla + + * camel-groupwise-folder.c: + ** Fix for bug ** 310953 + 2005-07-19 Chenthill Palanisamy * camel-groupwise-folder.c: (convert_to_calendar): Use the diff --git a/camel/providers/groupwise/camel-groupwise-folder.c b/camel/providers/groupwise/camel-groupwise-folder.c index c7e8356..ae2d3a6 100644 --- a/camel/providers/groupwise/camel-groupwise-folder.c +++ b/camel/providers/groupwise/camel-groupwise-folder.c @@ -731,7 +731,7 @@ update_update (CamelSession *session, CamelSessionThreadMsg *msg) &(m->t_str), "All", NULL, NULL, -1, &(m->slist)); if (status != E_GW_CONNECTION_STATUS_OK) { //camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_INVALID, _("Authentication failed")); - g_error ("ERROR update update\n"); + g_warning ("ERROR update update\n"); } else gw_update_all_items (m->folder, m->slist, ex); } @@ -1203,8 +1203,8 @@ groupwise_folder_item_to_msg( CamelFolder *folder, } temp_msg = groupwise_folder_item_to_msg(folder, temp_item, ex); if (temp_msg) { - //camel_data_wrapper_set_mime_type(CAMEL_DATA_WRAPPER (multipart), "multipart/mixed"); - //camel_multipart_set_boundary (multipart, NULL); + camel_data_wrapper_set_mime_type(CAMEL_DATA_WRAPPER (multipart), "multipart/mixed"); + camel_multipart_set_boundary (multipart, NULL); camel_mime_part_set_content_type ( (CamelMimePart *)temp_msg, "message/rfc822"); camel_multipart_add_part (multipart,(CamelMimePart *)temp_msg); camel_object_unref (temp_msg); @@ -1218,7 +1218,7 @@ groupwise_folder_item_to_msg( CamelFolder *folder, g_warning ("Could not get attachment\n"); continue; } - if (attach && (len !=0) ) { + if (attachment && (len !=0) ) { part = camel_mime_part_new (); camel_data_wrapper_set_mime_type(CAMEL_DATA_WRAPPER (multipart), "multipart/digest"); -- 2.7.4