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.");