summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-11-18 22:14:31 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-11-18 22:14:31 +0000
commit98df548e97d14a9f6ba75e7c4cea7cbfbf389cef (patch)
treec44d3c4152fae5493eb9a6769d3e7380d082aa69 /compose.c
parentf576e3d0089e04321689ef51d3113f15a53d7a0f (diff)
Remove some uuencode-related debris.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c20
1 files changed, 4 insertions, 16 deletions
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.");