From 568babfea9bedad70fc4ec97c0a3dc22ce41afbc Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 13 May 2003 17:38:47 +0000 Subject: [w3m-dev 03901] body with status-code 401 * file.c (loadGeneralFile): show page when 401, 407 From: ABE Yuji --- file.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'file.c') 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 #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; -- cgit v1.2.3