commit 654493e6f401ee14af68bf4df20309e7c5a358c0
parent fc1f30c7f50ee4716e9b397e2ffaa7990b80e87b
Author: ukai <ukai>
Date: Tue, 13 May 2003 17:38:47 +0000
[w3m-dev 03901] body with status-code 401
* file.c (loadGeneralFile): show page when 401, 407
From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
Diffstat:
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-14 ABE Yuji <cbo46560@pop12.odn.ne.jp>
+
+ * [w3m-dev 03901] body with status-code 401
+ * file.c (loadGeneralFile): show page when 401, 407
+
2003-05-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03900] Re: table rendering
diff --git a/file.c b/file.c
@@ -1733,9 +1733,8 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer,
auth_pu, &hr, request);
if (ss == NULL) {
/* abort */
- UFclose(&f);
TRAP_OFF;
- return NULL;
+ goto page_loaded;
}
UFclose(&f);
add_auth_cookie_flag = 1;
@@ -1755,9 +1754,8 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer,
extra_header, auth_pu, &hr, request);
if (ss == NULL) {
/* abort */
- UFclose(&f);
TRAP_OFF;
- return NULL;
+ goto page_loaded;
}
UFclose(&f);
add_auth_cookie_flag = 1;