diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-11-15 09:42:00 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-11-15 09:42:00 +0000 |
commit | 04fd435ca2ada40956327acc61cf01fbe2a4ec71 (patch) | |
tree | 63edc5878bf19f15a1d28b6977e74ddea13f074f /attach.c | |
parent | 8fa824fc79c18c4621c6fbb8c88ce45716ac3a6e (diff) |
My version of Byrial's parse_part patch.
Diffstat (limited to 'attach.c')
-rw-r--r-- | attach.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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; |