]> granicus.if.org Git - mutt/commitdiff
Remove some uuencode-related debris.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 18 Nov 1998 22:14:31 +0000 (22:14 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 18 Nov 1998 22:14:31 +0000 (22:14 +0000)
compose.c

index d35c9be82d9d4f64a71d79f56676b211d702a104..5dcc85f8af8c1de667cad034ccb50fb6736425c6 100644 (file)
--- 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.");