From: Thomas Roessler Date: Wed, 18 Nov 1998 22:14:31 +0000 (+0000) Subject: Remove some uuencode-related debris. X-Git-Tag: mutt-0-94-17i-rel~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98df548e97d14a9f6ba75e7c4cea7cbfbf389cef;p=mutt Remove some uuencode-related debris. --- diff --git a/compose.c b/compose.c index d35c9be8..5dcc85f8 100644 --- a/compose.c +++ b/compose.c @@ -743,23 +743,11 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */ if (mutt_get_field ("Content-Transfer-Encoding: ", buf, sizeof (buf), 0) == 0 && buf[0]) { - if ((i = mutt_check_encoding (buf)) != ENCOTHER) + if ((i = mutt_check_encoding (buf)) != ENCOTHER && i != ENCUUENCODED) { -#ifndef PERMIT_DEPRECATED_UUENCODED_MESSAGES - if (i == ENCUUENCODED) - { - mutt_error _("Invalid encoding."); - break; - } -#else - if(i != ENCUUENCODED || - mutt_yesorno(_("This encoding is deprecated. Really use it?"), 0) == M_YES) -#endif - { - idx[menu->current]->content->encoding = i; - menu->redraw = REDRAW_CURRENT; - mutt_clear_error(); - } + idx[menu->current]->content->encoding = i; + menu->redraw = REDRAW_CURRENT; + mutt_clear_error(); } else mutt_error _("Invalid encoding.");