From: Thomas Roessler Date: Mon, 7 Sep 1998 20:47:25 +0000 (+0000) Subject: Don't descend into multipart/encrypted on the recvattach X-Git-Tag: mutt-0-94-6i-rel~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f402b4a42828df4399133fa9c90135156db0b84;p=mutt Don't descend into multipart/encrypted on the recvattach menu. --- diff --git a/recvattach.c b/recvattach.c index 6969a7a7..ca385243 100644 --- a/recvattach.c +++ b/recvattach.c @@ -109,7 +109,7 @@ ATTACHPTR **mutt_gen_attach_list (BODY *m, if (*idxlen == *idxmax) safe_realloc ((void **) &idx, sizeof (ATTACHPTR *) * (*idxmax += 5)); - if (m->type == TYPEMULTIPART && m->parts) + if (m->type == TYPEMULTIPART && m->parts && !mutt_is_multipart_encrypted(m)) { idx = mutt_gen_attach_list (m->parts, idx, idxlen, idxmax, level, compose); }