From: Thomas Roessler Date: Wed, 18 Nov 1998 22:05:22 +0000 (+0000) Subject: Remove some code which crept in from the external character set patch. X-Git-Tag: mutt-0-94-17i-rel~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f576e3d0089e04321689ef51d3113f15a53d7a0f;p=mutt Remove some code which crept in from the external character set patch. --- diff --git a/recvattach.c b/recvattach.c index 616e23b4..e79ce582 100644 --- a/recvattach.c +++ b/recvattach.c @@ -140,8 +140,7 @@ ATTACHPTR **mutt_gen_attach_list (BODY *m, return (idx); } -/* %C = character set - * %D = deleted flag +/* %D = deleted flag * %d = description * %e = MIME content-transfer-encoding * %f = filename @@ -171,18 +170,6 @@ const char *mutt_attach_fmt (char *dest, switch (op) { - case 'C': - if(!optional) - { - if(aptr->content->type == TYPETEXT && mutt_get_send_charset(charset, sizeof(charset), aptr->content)) - { - snprintf(fmt, sizeof(fmt), "%%%ss", prefix); - snprintf(dest, destlen, fmt, charset); - } - } - else if(aptr->content->type != TYPETEXT || !mutt_get_send_charset(charset, sizeof(charset), aptr->content)) - optional = 0; - break; case 'd': if(!optional) {