summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2019-10-29 14:58:57 +0800
committerKevin McCarthy <kevin@8t8.us>2019-11-01 14:22:52 +0800
commit3f9116816d9df94e5c1cb6650bd422897ba7a228 (patch)
tree12940d02a9b86bfa5e8e45773d36efdb48052670 /main.c
parent4cec4b6325e0ef9b1a7195dc643b57225ffab831 (diff)
Create multipart/mixed helpers.
Since we will be dealing with multipart/alternative, we need the helpers to be a bit more specific. We need to distinguish a top-level multipart/alternative from a multipart/mixed created because of attachments.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7e8b37c4..fa390cd1 100644
--- a/main.c
+++ b/main.c
@@ -1237,7 +1237,7 @@ int main (int argc, char **argv, char **environ)
if (rv < 0)
{
if (msg->content->next)
- msg->content = mutt_make_multipart (msg->content);
+ msg->content = mutt_make_multipart_mixed (msg->content);
mutt_encode_descriptions (msg->content, 1);
mutt_prepare_envelope (msg->env, 0);
mutt_env_to_intl (msg->env, NULL, NULL);