aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-mime-part-utils.c')
-rw-r--r--camel/camel-mime-part-utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/camel-mime-part-utils.c b/camel/camel-mime-part-utils.c
index 81f17aa098..2809346a00 100644
--- a/camel/camel-mime-part-utils.c
+++ b/camel/camel-mime-part-utils.c
@@ -218,6 +218,10 @@ camel_mime_part_construct_content_from_parser(CamelMimePart *dw, CamelMimeParser
camel_object_unref ((CamelObject *)bodypart);
}
+ /* these are only return valid data in the MULTIPART_END state */
+ camel_multipart_set_preface((CamelMultipart *)content, camel_mime_parser_preface(mp));
+ camel_multipart_set_postface((CamelMultipart *)content, camel_mime_parser_postface(mp));
+
d(printf("Created multi-part\n"));
break; }
default: