X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=rfc1524.c;h=882f583a71772230b0d65dd4a4d38f4b1224e27d;hp=5764beb855a976a1fd67d8fcf955fb51ad5e5dd8;hb=1c16e9623a9fb6a15bb284a6f7322b583ebc06a7;hpb=7f7a0be369840b290248e5b0302beb447fa1b3cd diff --git a/rfc1524.c b/rfc1524.c index 5764beb..882f583 100644 --- a/rfc1524.c +++ b/rfc1524.c @@ -23,10 +23,11 @@ #include #include +#include #include +#include #include "mutt.h" -#include "ascii.h" #include "rfc1524.h" #include "attach.h" @@ -197,7 +198,7 @@ static int rfc1524_mailcap_parse (BODY * a, /* check type */ ch = get_field (buf); if (ascii_strcasecmp (buf, type) && (ascii_strncasecmp (buf, type, btlen) || (buf[btlen] != 0 && /* implicit wild */ - str_cmp (buf + btlen, "/*")))) /* wildsubtype */ + m_strcmp(buf + btlen, "/*")))) /* wildsubtype */ continue; /* next field is the viewcommand */