diff options
author | Leah Neukirchen <leah@vuxu.org> | 2018-01-16 18:14:06 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2018-01-16 18:14:06 +0100 |
commit | 37db100dcd223c8f792eba751903a4f34735888a (patch) | |
tree | 7d71676945b584dff8f268ecd79ebf20892d0d71 | |
parent | fe3e1629a6c2eb6949c6882bc269f9cda87b4e5b (diff) | |
download | mblaze-37db100dcd223c8f792eba751903a4f34735888a.tar.gz mblaze-37db100dcd223c8f792eba751903a4f34735888a.tar.xz mblaze-37db100dcd223c8f792eba751903a4f34735888a.zip |
mshow: render_mime: render message/delivery-status as plain text
-rw-r--r-- | mshow.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mshow.c b/mshow.c index b5cf64f..614b7d9 100644 --- a/mshow.c +++ b/mshow.c @@ -264,7 +264,8 @@ nofilter: if (!Nflag) printf(" ---\n"); - if (strncmp(ct, "text/", 5) == 0) { + if (strncmp(ct, "text/", 5) == 0 || + strncmp(ct, "message/delivery-status", 23) == 0) { char *charset = 0, *cs, *cse; if (blaze822_mime_parameter(ct, "charset", &cs, &cse)) charset = strndup(cs, cse-cs); |