X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mime%2Frfc2231.c;h=7cd45d286b272877f1584ee20816b2333403a369;hp=e28be695ff6da3904a281bb53cc37a277834a1b3;hb=c621d41d614275fb6265ab8184a825a72b5a52b4;hpb=1ee89902de184a640c171ae3285bff6882a791bd diff --git a/lib-mime/rfc2231.c b/lib-mime/rfc2231.c index e28be69..7cd45d2 100644 --- a/lib-mime/rfc2231.c +++ b/lib-mime/rfc2231.c @@ -233,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 (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); }