X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fhdrline.c;h=fa3a28d7007057aae0705df91f8834f771949d63;hp=5797c22e66cb284c558778702f58cabb813d14e0;hb=129050c6742f6be13fa5635ba03542b7fb2a9525;hpb=230399f9632c37b66c1c117a17e8327eae6b3235 diff --git a/lib-ui/hdrline.c b/lib-ui/hdrline.c index 5797c22..fa3a28d 100644 --- a/lib-ui/hdrline.c +++ b/lib-ui/hdrline.c @@ -7,20 +7,11 @@ * please see the file GPL in the top level source directory. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include -#include - #include #include - #include +#include #include "mutt.h" #include "alias.h" @@ -637,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;