diff options
-rw-r--r-- | mshow.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mshow.c b/mshow.c index d4b1ba8..fb35330 100644 --- a/mshow.c +++ b/mshow.c @@ -326,6 +326,10 @@ choose_alternative(struct message *msg, int depth) struct message *imsg = 0; while (blaze822_multipart(msg, &imsg)) { m++; + + if (blaze822_bodylen(imsg) == 0) + continue; + char *ict = blaze822_hdr(imsg, "content-type"); if (!ict) ict = fallback_ct; |