X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=commands.c;h=82bc24040ec80a8394de43e29aaee70fb6db1e31;hp=d24ba0c02f7809212a77db791d5d6fdc82167842;hb=9f1dbdb74d7ca296eaa5fcf45243f7e376d35eab;hpb=c8e3d1cce2a8af0b4725e1a751f8795bf04487da diff --git a/commands.c b/commands.c index d24ba0c..82bc240 100644 --- a/commands.c +++ b/commands.c @@ -134,16 +134,6 @@ int mutt_display_message (HEADER * cur) mutt_wait_filter (filterpid); m_fclose(&fpfilterout); } -#if 0 - /* this is maybe just plain wrong but it makes the pager display - * what we have; i.e. for the crypto stuff we only get - * 'Could not copy message' for invalid passphrases, no PGP output - * not nothing; so just display what we have... - * - pdmef - */ - mutt_unlink (tempfile); - return 0; -#endif } if (fpfilterout != NULL && mutt_wait_filter (filterpid) != 0) @@ -254,7 +244,7 @@ void ci_bounce_message (HEADER * h, int *redraw) } buf[0] = 0; - rfc822_write_address (buf, sizeof (buf), adr, 1); + rfc822_addrcat(buf, sizeof (buf), adr, 1); #define extra_space (15 + 7 + 2) snprintf (prompt, sizeof (prompt), @@ -586,7 +576,7 @@ void mutt_display_address (ENVELOPE * env) */ buf[0] = 0; - rfc822_write_address (buf, sizeof (buf), adr, 0); + rfc822_addrcat(buf, sizeof (buf), adr, 0); mutt_message ("%s: %s", pfx, buf); } @@ -863,12 +853,12 @@ void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp) if (!is_multipart(b) && b->parts) body_list_wipe(&b->parts); - if (!mutt_is_message_type (b->type, b->subtype) && b->hdr) { + if (!mutt_is_message_type(b) && b->hdr) { b->hdr->content = NULL; header_delete(&b->hdr); } - if (fp && (is_multipart(b) || mutt_is_message_type(b->type, b->subtype))) + if (fp && (is_multipart(b) || mutt_is_message_type(b))) mutt_parse_part (fp, b); if (h) {