X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fhdrline.c;h=fa3a28d7007057aae0705df91f8834f771949d63;hp=1b3f10a7b461dd44a5d18dcf3783031ca3462dbd;hb=129050c6742f6be13fa5635ba03542b7fb2a9525;hpb=98cf5779d8184a74541be1bc61d15c5f35efd310 diff --git a/lib-ui/hdrline.c b/lib-ui/hdrline.c index 1b3f10a..fa3a28d 100644 --- a/lib-ui/hdrline.c +++ b/lib-ui/hdrline.c @@ -10,8 +10,8 @@ #include #include - #include +#include #include "mutt.h" #include "alias.h" @@ -20,7 +20,6 @@ #include "charset.h" #include #include "mutt_idna.h" -#include "mx.h" int mutt_is_mail_list (address_t * addr) { @@ -629,12 +628,6 @@ static const char *hdr_format_str (char *dest, { 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;