aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-05-13 17:38:47 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-05-13 17:38:47 +0000
commit568babfea9bedad70fc4ec97c0a3dc22ce41afbc (patch)
tree93128b1701ec1e8304cfd93fb4d728ae79ced39c
parent[w3m-dev 03900] Re: table rendering (diff)
downloadw3m-568babfea9bedad70fc4ec97c0a3dc22ce41afbc.tar.gz
w3m-568babfea9bedad70fc4ec97c0a3dc22ce41afbc.zip
[w3m-dev 03901] body with status-code 401
* file.c (loadGeneralFile): show page when 401, 407 From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
-rw-r--r--ChangeLog7
-rw-r--r--file.c8
2 files changed, 9 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index b9bf6ce..d5c2513 100644
--- 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
@@ -7833,4 +7838,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.838 2003/05/13 17:20:32 ukai Exp $
+$Id: ChangeLog,v 1.839 2003/05/13 17:38:47 ukai Exp $
diff --git a/file.c b/file.c
index 320fe23..ecf311c 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.223 2003/04/18 16:47:17 ukai Exp $ */
+/* $Id: file.c,v 1.224 2003/05/13 17:38:47 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -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;