diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-12-17 08:57:10 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-12-17 08:57:10 +0800 |
commit | 78416d76d4487be69b0f1885fbf5efa759520f79 (patch) | |
tree | b920ba3e68e8535d3f2907eb4fe156e8e8f6728e /camel | |
parent | 81d26e01cb0f918068f21e1b4c9bab5015a8a417 (diff) | |
download | gsoc2013-evolution-78416d76d4487be69b0f1885fbf5efa759520f79.tar.gz gsoc2013-evolution-78416d76d4487be69b0f1885fbf5efa759520f79.tar.zst gsoc2013-evolution-78416d76d4487be69b0f1885fbf5efa759520f79.zip |
Try to use the original boundary so luis will stop bugging me about "data
2001-12-16 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | 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 <fejj@ximian.com> + + * 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 <fejj@ximian.com> * 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); |