The NNTP patch is a joke, let's drop it altogether.
[apps/madmutt.git] / lib-mime / rfc1524.c
index 7f6ceb3..422a82d 100644 (file)
@@ -103,7 +103,7 @@ int rfc1524_expand_command(BODY *a, const char *filename, const char *mtype,
 
     m_strcpy(type, sizeof(type), mtype);
 
-    if (Mime.mailcap_sanitize)
+    if (mod_mime.mailcap_sanitize)
         mutt_sanitize_filename(type, 0);
 
     while (command[x] && x < clen && y < ssizeof(buf)) {
@@ -128,7 +128,7 @@ int rfc1524_expand_command(BODY *a, const char *filename, const char *mtype,
                 m_strcpy(pval, sizeof(pval),
                          parameter_getval(a->parameter, param));
 
-                if (Mime.mailcap_sanitize)
+                if (mod_mime.mailcap_sanitize)
                     mutt_sanitize_filename(pval, 0);
 
                 y += mutt_quote_filename(buf + y, sizeof(buf) - y, pval);
@@ -354,7 +354,7 @@ rfc1524_mailcap_parse(BODY *a, const char *filename, const char *type,
  */
 int rfc1524_mailcap_lookup(BODY *a, char *type, rfc1524_entry *entry, int opt)
 {
-    const char *p = Mime.mailcap_path;
+    const char *p = mod_mime.mailcap_path;
 
     mutt_check_lookup_list(a, type, STRING);