From 97d3287af85e3890f03d2a48474de0d1a431b676 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Mon, 24 Nov 1997 19:17:20 -0500 Subject: snapshot of project "lynx", label v2-7-1ac_0-97 --- src/LYMainLoop.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/LYMainLoop.c') diff --git a/src/LYMainLoop.c b/src/LYMainLoop.c index d73b9a22..208ad88b 100644 --- a/src/LYMainLoop.c +++ b/src/LYMainLoop.c @@ -6,6 +6,8 @@ #include "HTFTP.h" #include "HTFile.h" #include "HTTP.h" +#include "HTAABrow.h" +#include "HTNews.h" #include "LYCurses.h" #include "LYStyle.h" #include "LYGlobalDefs.h" @@ -5322,6 +5324,25 @@ check_add_bookmark_to_self: } break; + case LYK_CLEAR_AUTH: + if (old_c != real_c) { + old_c = real_c; + if (HTConfirm(CLEAR_ALL_AUTH_INFO)) { + FREE(authentication_info[0]); + FREE(authentication_info[1]); + FREE(proxyauth_info[0]); + FREE(proxyauth_info[1]); + HTClearHTTPAuthInfo(); + HTClearNNTPAuthInfo(); + HTClearFTPPassword(); + _statusline(AUTH_INFO_CLEARED); + } else { + _statusline(CANCELLED); + } + sleep(MessageSecs); + } + break; + #ifdef NOT_USED case LYK_VERSION: if (old_c != real_c) { -- cgit 1.4.1-2-gfad0