{
int count = 0;
- if (option (OPTCOUNTATTACH)) {
- if (!hdr->content->parts)
- mutt_parse_mime_message(ctx, hdr);
- count = mutt_count_body_parts(hdr, 0);
- }
-
/* The recursion allows messages without depth to return 0. */
if (optional)
optional = count != 0;