aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;