w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 8c22840c2743a5e858060017fc75c6cde2948485
parent 74d57c9d7659b845073d6a8fa7f8ce3f13e41109
Author: ukai <ukai>
Date:   Wed,  6 Feb 2002 16:20:25 +0000

[w3m-dev 02999] don't ask accept bad cert when background downloading
* file.c (getAuthCookie): if QuietMessage, return NULL
* file.c (inputAnswer): if QuietMessage, input "n"
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>

Diffstat:
MChangeLog | 6++++++
Mfile.c | 4++++
2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2002-02-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02999] don't ask accept bad cert when background downloading + * file.c (getAuthCookie): if QuietMessage, return NULL + * file.c (inputAnswer): if QuietMessage, input "n" + 2002-02-05 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> * [w3m-dev 02991] form support in w3m -halfdump foo.html|w3m -halfload diff --git a/file.c b/file.c @@ -1320,6 +1320,8 @@ getAuthCookie(struct http_auth *hauth, char *auth_header, else ss = find_auth_cookie(pu->host, pu->port, realm); if (ss == NULL) { + if (QuietMessage) + return ss; /* input username and password */ sleep(2); if (fmInitialized) { @@ -7155,6 +7157,8 @@ inputAnswer(char *prompt) { char *ans; + if (QuietMessage) + return "n"; if (fmInitialized) { term_raw(); ans = inputChar(prompt);