From 04fd435ca2ada40956327acc61cf01fbe2a4ec71 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Sun, 15 Nov 1998 09:42:00 +0000 Subject: My version of Byrial's parse_part patch. --- attach.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'attach.c') 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; -- cgit v1.2.3