diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-05-13 17:38:47 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-05-13 17:38:47 +0000 |
commit | 568babfea9bedad70fc4ec97c0a3dc22ce41afbc (patch) | |
tree | 93128b1701ec1e8304cfd93fb4d728ae79ced39c /file.c | |
parent | [w3m-dev 03900] Re: table rendering (diff) | |
download | w3m-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>
Diffstat (limited to '')
-rw-r--r-- | file.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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; |