X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=attach.c;h=ccc0a8d6cab998027a017584f13a7aedace46ebd;hb=024fe257a96f97619e236bbdafe57b63101eb17f;hp=5d9b51fbfb8d067bc0db19a84508539a52aeed48;hpb=1d11b74b25b888b74409380d588c5fdf14f65f1e;p=apps%2Fmadmutt.git diff --git a/attach.c b/attach.c index 5d9b51f..ccc0a8d 100644 --- a/attach.c +++ b/attach.c @@ -375,7 +375,7 @@ int mutt_view_attachment (FILE * fp, BODY * a, int flag, HEADER * hdr, int unlink_tempfile = 0; int pagerfd = -1; - is_message = mutt_is_message_type (a->type, a->subtype); + is_message = mutt_is_message_type(a); if (is_message && a->hdr && (a->hdr->security & ENCRYPT) && !crypt_valid_passphrase (a->hdr->security)) return (rc); @@ -683,7 +683,7 @@ int mutt_save_attachment (FILE * fp, BODY * m, char *path, int flags, m->hdr && m->encoding != ENCBASE64 && m->encoding != ENCQUOTEDPRINTABLE && - mutt_is_message_type (m->type, m->subtype)) { + mutt_is_message_type(m)) { /* message type attachments are written to mail folders. */ char buf[HUGE_STRING];