diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-11-23 08:39:47 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-11-23 08:39:47 +0200 |
commit | 36b203eaeb57c487d71a269744593061d0a7505d (patch) | |
tree | 89a7019acf0d33994aa8ea6001a47d6d367f9f7c | |
parent | a9cf7d37c457a43e219aca6208f88f531f51d92c (diff) | |
download | mailutils-36b203eaeb57c487d71a269744593061d0a7505d.tar.gz mailutils-36b203eaeb57c487d71a269744593061d0a7505d.tar.bz2 |
Restore two accidentally deleted lines
-rw-r--r-- | mail/decode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/decode.c b/mail/decode.c index 8404781c4..6f20ae2cd 100644 --- a/mail/decode.c +++ b/mail/decode.c @@ -180,6 +180,8 @@ mime_descend (struct mime_descend_closure *closure, mu_message_get_header (closure->message, &hdr); util_get_hdr_value (hdr, MU_HEADER_CONTENT_TYPE, &type); + if (!type) + type = mu_strdup ("text/plain"); get_content_encoding (hdr, &encoding); closure->type = type; |