remove a mutt-ng thing that makes no sense at all.
[apps/madmutt.git] / lib-ui / hdrline.c
index 2bc1bed..fa3a28d 100644 (file)
@@ -7,21 +7,11 @@
  * please see the file GPL in the top level source directory.
  */
 
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <ctype.h>
-#include <stdlib.h>
-#include <string.h>
-#include <locale.h>
-
-#include <lib-lib/rx.h>
-#include <lib-lib/str.h>
+#include <lib-lib/lib-lib.h>
 
 #include <lib-mime/mime.h>
-
 #include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
 
 #include "mutt.h"
 #include "alias.h"
@@ -638,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;