summaryrefslogtreecommitdiff
path: root/alpine/imap.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-03-19 23:13:37 -0600
committerEduardo Chappa <chappa@washington.edu>2020-03-19 23:13:37 -0600
commit4d705415db3769e5a42773c91e4a1cf88cecf239 (patch)
tree45384adfcc59aff713de850a0bc154023818ac51 /alpine/imap.c
parent277d70d881a99e563cfa1c4eee4cc0e77c17ea7d (diff)
downloadalpine-4d705415db3769e5a42773c91e4a1cf88cecf239.tar.xz
* Alpine would not redraw the screen when a check for new mail in an
incoming folder failed due to a failurec while validating the server certificate, and the user did not allow the connection to proceed.
Diffstat (limited to 'alpine/imap.c')
-rw-r--r--alpine/imap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/alpine/imap.c b/alpine/imap.c
index ce5626b5..a001980c 100644
--- a/alpine/imap.c
+++ b/alpine/imap.c
@@ -2038,6 +2038,8 @@ pine_sslcertquery(char *reason, char *host, char *cert)
if(the_answer == 'y')
rv++;
+ else if(the_answer == 'n')
+ ps_global->user_says_cancel = 1;
ps_global->mangled_screen = 1;
ps_global->painted_body_on_startup = 0;