From 78416d76d4487be69b0f1885fbf5efa759520f79 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 17 Dec 2001 00:57:10 +0000 Subject: Try to use the original boundary so luis will stop bugging me about "data 2001-12-16 Jeffrey Stedfast * providers/imap/camel-imap-folder.c (get_content): Try to use the original boundary so luis will stop bugging me about "data corruption". svn path=/trunk/; revision=15093 --- camel/ChangeLog | 6 ++++++ camel/providers/imap/camel-imap-folder.c | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index b0b483b3c5..16e87272d6 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2001-12-16 Jeffrey Stedfast + + * providers/imap/camel-imap-folder.c (get_content): Try to use the + original boundary so luis will stop bugging me about "data + corruption". + 2001-12-14 Jeffrey Stedfast * camel-filter-driver.c diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index e32d1696d9..c9b1d73673 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -1411,7 +1411,9 @@ get_content (CamelImapFolder *imap_folder, const char *uid, body_mp = camel_multipart_new (); camel_data_wrapper_set_mime_type_field ( CAMEL_DATA_WRAPPER (body_mp), ci->type); - camel_multipart_set_boundary (body_mp, NULL); + + /* FIXME: do we really need to set this? shouldn't it be set in the above call? */ + camel_multipart_set_boundary (body_mp, header_content_type_param (ci->type, "boundary")); speclen = strlen (part_spec); child_spec = g_malloc (speclen + 15); @@ -1450,7 +1452,7 @@ get_content (CamelImapFolder *imap_folder, const char *uid, camel_object_unref (CAMEL_OBJECT (content)); camel_multipart_add_part (body_mp, part); camel_object_unref (CAMEL_OBJECT (part)); - + ci = ci->next; } g_free (child_spec); -- cgit v1.2.3