X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-show.c;h=c8771520922dc5521523ec8209f9410b97589dc3;hp=ef421ec7cc382ea6e3dbe188c50d1140423b6f30;hb=c51d5b3cdb5ca0816816e88ca6f7136a24e74eee;hpb=81d3bd3670f570c9aeb7e1f3b317b86194ee4426 diff --git a/notmuch-show.c b/notmuch-show.c index ef421ec7..c8771520 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -410,6 +410,11 @@ format_part_text (GMimeObject *part, int *part_count) show_part_content (part, stream_stdout); g_object_unref(stream_stdout); } + else if (g_mime_content_type_is_type (content_type, "multipart", "*")) + { + /* Do nothing for multipart since its content will be printed + * when recursing. */ + } else { printf ("Non-text part: %s\n",