summaryrefslogtreecommitdiffstats
path: root/recvattach.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-09-07 20:47:25 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-09-07 20:47:25 +0000
commit1f402b4a42828df4399133fa9c90135156db0b84 (patch)
tree2c13bfaa727fb3a305d9e51e88c93a56175fdf4f /recvattach.c
parent18ae85862e640bf145ae27cb20c6e874c9bd8c6d (diff)
Don't descend into multipart/encrypted on the recvattach
menu.
Diffstat (limited to 'recvattach.c')
-rw-r--r--recvattach.c2
1 files changed, 1 insertions, 1 deletions
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);
}