aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-10-30 15:39:41 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-10-30 15:39:41 +0000
commit46e147cf1f9dd6080337bc80208f930d217e2264 (patch)
treea4ac824b2c827d9399b9bdb694ee8e43a257820a /file.c
parent[w3m-dev 03357] tab in <pre> in <ul>,<ol>,... (diff)
downloadw3m-46e147cf1f9dd6080337bc80208f930d217e2264.tar.gz
w3m-46e147cf1f9dd6080337bc80208f930d217e2264.zip
[w3m-dev 03359] support for http://user:pass@www.url.com
* etc.c (find_auth_user_passwd): use ParsedURL for args use user and passwd if these are defined in ParsedURL * file.c (getAuthCookie): change find_auth_user_passwd() * proto.h (find_auth_user_passwd): change prototype From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'file.c')
-rw-r--r--file.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/file.c b/file.c
index bca214c..bc705fd 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.106 2002/10/30 03:58:59 ukai Exp $ */
+/* $Id: file.c,v 1.107 2002/10/30 15:39:41 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -1390,8 +1390,7 @@ getAuthCookie(struct http_auth *hauth, char *auth_header,
auth_header_len);
if (!a_found &&
- find_auth_user_passwd(pu->host, pu->port, pu->file, realm,
- &uname, &pwd, proxy)) {
+ find_auth_user_passwd(pu, realm, &uname, &pwd, proxy)) {
/* found username & password in passwd file */ ;
}
else {