X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mime%2Frfc1524.c;h=422a82d23e2e5647adfa6d3812382a9c2a1db704;hp=7f6ceb3bd4f44e6c9ed1d26007ee374b2deb9118;hb=11ebd35cdf53f877efb11ed1ce9ccb771d2a091c;hpb=58e0ddff3bd5e1b9455e8c3ebb1f4b9e7dd71920 diff --git a/lib-mime/rfc1524.c b/lib-mime/rfc1524.c index 7f6ceb3..422a82d 100644 --- a/lib-mime/rfc1524.c +++ b/lib-mime/rfc1524.c @@ -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);