summaryrefslogtreecommitdiff
path: root/mail/decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/decode.c')
-rw-r--r--mail/decode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/decode.c b/mail/decode.c
index 2eb3a8287..4beadc93f 100644
--- a/mail/decode.c
+++ b/mail/decode.c
@@ -258,7 +258,8 @@ display_submessage (struct mime_descend_closure *closure, void *data)
/* Can we decode. */
if (mu_filter_create(&d_stream, b_stream, closure->encoding,
- MU_FILTER_DECODE, MU_STREAM_READ) == 0)
+ MU_FILTER_DECODE,
+ MU_STREAM_READ|MU_STREAM_NO_CLOSE) == 0)
stream = d_stream;
else
stream = b_stream;

Return to:

Send suggestions and report system problems to the System administrator.