summaryrefslogtreecommitdiffstats
path: root/attach.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-11-15 09:42:00 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-11-15 09:42:00 +0000
commit04fd435ca2ada40956327acc61cf01fbe2a4ec71 (patch)
tree63edc5878bf19f15a1d28b6977e74ddea13f074f /attach.c
parent8fa824fc79c18c4621c6fbb8c88ce45716ac3a6e (diff)
My version of Byrial's parse_part patch.
Diffstat (limited to 'attach.c')
-rw-r--r--attach.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/attach.c b/attach.c
index b9145ac7..c2b72aa1 100644
--- a/attach.c
+++ b/attach.c
@@ -745,12 +745,9 @@ int mutt_decode_save_attachment (FILE *fp, BODY *m, char *path,
m->length = st.st_size;
m->encoding = ENC8BIT;
m->offset = 0;
- if (mutt_is_message_type(m->type, m->subtype))
- {
- saved_parts = m->parts;
- saved_hdr = m->hdr;
- m->parts = mutt_parse_messageRFC822 (s.fpin, m);
- }
+ saved_parts = m->parts;
+ saved_hdr = m->hdr;
+ mutt_parse_part (s.fpin, m);
}
else
s.fpin = fp;