]> granicus.if.org Git - neomutt/commitdiff
backout [392e945dfba7]
authorMichael Elkins <me@sigpipe.org>
Thu, 17 Jan 2013 23:04:42 +0000 (23:04 +0000)
committerMichael Elkins <me@sigpipe.org>
Thu, 17 Jan 2013 23:04:42 +0000 (23:04 +0000)
closes #3293
see #3234

attach.c

index 4395700bd33b30951e2bded5ee45c7ede649967d..32556e6a45277a8e70849ca1120100cbcb1f7ce1 100644 (file)
--- 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");