remove a mutt-ng thing that makes no sense at all.
[apps/madmutt.git] / lib-mime / rfc2231.c
index 206f505..24f8ba2 100644 (file)
  *
  */
 
-#include <ctype.h>
-#include <string.h>
-#include <stdlib.h>
-
-#include <lib-lib/mem.h>
-#include <lib-lib/str.h>
-#include <lib-lib/ascii.h>
+#include <lib-lib/lib-lib.h>
 
 #include <lib-mime/mime.h>
 
@@ -239,9 +233,9 @@ void rfc2231_decode_parameters (parameter_t ** headp)
              * Internet Gateways.  So we actually decode it.
              */
 
-            if (option (OPTRFC2047PARAMS) && p->value && strstr (p->value, "=?"))
-                rfc2047_decode (&p->value);
-            else if (!option (OPTSTRICTMIME)) {
+            if (option(OPTRFC2047PARAMS) && p->value && strstr(p->value, "=?")) {
+                rfc2047_decode(&p->value);
+            } else {
                 if (mime_which_token(AssumedCharset, -1) == MIME_US_ASCII)
                     mutt_convert_nonmime_string(&p->value);
             }