diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-11-18 22:14:31 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-11-18 22:14:31 +0000 |
commit | 98df548e97d14a9f6ba75e7c4cea7cbfbf389cef (patch) | |
tree | c44d3c4152fae5493eb9a6769d3e7380d082aa69 /compose.c | |
parent | f576e3d0089e04321689ef51d3113f15a53d7a0f (diff) |
Remove some uuencode-related debris.
Diffstat (limited to 'compose.c')
-rw-r--r-- | compose.c | 20 |
1 files changed, 4 insertions, 16 deletions
@@ -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."); |