w3m

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

commit f67d1157c2517819e3fefea80deabec890ae729c
parent 05a0dc4bd1f05f921f78d52963ce1a31c4d04df8
Author: ukai <ukai>
Date:   Tue, 10 Sep 2002 18:21:36 +0000

if wrong password, dont read passwd_file

Diffstat:
Mfile.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/file.c b/file.c @@ -1470,7 +1470,8 @@ getAuthCookie(struct http_auth *hauth, char *auth_header, else ss = find_auth_cookie(pu->host, pu->port, pu->file, realm); if (realm && ss == NULL) { - if (find_auth_user_passwd(pu->host, pu->port, pu->file, realm, + if (!a_found && + find_auth_user_passwd(pu->host, pu->port, pu->file, realm, &uname, &pwd)) { /* found username & password in passwd file */ ; }