From feafa7e630f71e10db7f84349212a463f522a25e Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Thu, 17 Jan 2013 23:04:42 +0000 Subject: [PATCH] backout [392e945dfba7] closes #3293 see #3234 --- attach.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/attach.c b/attach.c index 4395700bd..32556e6a4 100644 --- a/attach.c +++ b/attach.c @@ -739,12 +739,10 @@ int mutt_save_attachment (FILE *fp, BODY *m, char *path, int flags, HEADER *hdr) else { /* In recv mode, extract from folder and decode */ - + STATE s; - + memset (&s, 0, sizeof (s)); - s.flags |= M_CHARCONV; - if ((s.fpout = mutt_save_attachment_open (path, flags)) == NULL) { mutt_perror ("fopen"); @@ -753,7 +751,7 @@ int mutt_save_attachment (FILE *fp, BODY *m, char *path, int flags, HEADER *hdr) } fseeko ((s.fpin = fp), m->offset, 0); mutt_decode_attachment (m, &s); - + if (fclose (s.fpout) != 0) { mutt_perror ("fclose"); -- 2.40.0