From: Thomas Roessler Date: Wed, 17 May 2000 10:43:26 +0000 (+0000) Subject: When displaying a deleted attachment's information, present the file X-Git-Tag: mutt-1-3-1-rel~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb2b608cb5e85dc702644aee8c19aff93e2db455;p=mutt When displaying a deleted attachment's information, present the file name if it is present. Suggested by Pete Wenzel . --- diff --git a/handler.c b/handler.c index decc152d..1e0d7df6 100644 --- a/handler.c +++ b/handler.c @@ -1249,6 +1249,9 @@ static void external_body_handler (BODY *b, STATE *s) if (expire != -1) state_printf (s, _("[-- on %s --]\n"), expiration); + if (b->parts->filename) + state_printf (s, _("[-- name: %s --]\n"), b->parts->filename); + mutt_copy_hdr (s->fpin, s->fpout, ftell (s->fpin), b->parts->offset, (option (OPTWEED) ? (CH_WEED | CH_REORDER) : 0) | CH_DECODE , NULL);