]> granicus.if.org Git - mutt/commitdiff
Don't descend into multipart/encrypted on the recvattach
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 7 Sep 1998 20:47:25 +0000 (20:47 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 7 Sep 1998 20:47:25 +0000 (20:47 +0000)
menu.

recvattach.c

index 6969a7a7670b4228ac4c6733720d9ec135fb5657..ca38524399811480dcb5abc853239f6013214140 100644 (file)
@@ -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);
     }