diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-14 22:57:56 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-14 22:57:56 +0000 |
commit | 1d7247612a8421a3161ed44cee3647a077a2436c (patch) | |
tree | 25a3f7584e020b313ebf030dcf817fd535c483af /compose.c | |
parent | c6839ead9fe7dd4c5fae7e36f352d10631ba627a (diff) |
Warn the user before sending out uuencoded attachments.
Diffstat (limited to 'compose.c')
-rw-r--r-- | compose.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -814,8 +814,13 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */ { if ((i = mutt_check_encoding (buf)) != ENCOTHER) { - idx[menu->current]->content->encoding = i; - menu->redraw = REDRAW_CURRENT; + if(i != ENCUUENCODED || + mutt_yesorno(_("This encoding is deprecated. Really use it?"), 0) == M_YES) + { + idx[menu->current]->content->encoding = i; + menu->redraw = REDRAW_CURRENT; + mutt_clear_error(); + } } else mutt_error _("Invalid encoding."); |