From f9657e4719bd2f0e006a24e9640b89bf051bbf53 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 9 Dec 2002 15:24:00 +0000 Subject: [w3m-dev 03542] news support * file.c (loadGeneralFile): NNTP as well as NEWS * indep.c (url_unquote_char): check % hex hex (url_unquote): unquote except \0, \n, \r From: Hironori SAKAMOTO --- file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'file.c') diff --git a/file.c b/file.c index 251277e..f764ff7 100644 --- a/file.c +++ b/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.152 2002/12/08 14:23:44 ukai Exp $ */ +/* $Id: file.c,v 1.153 2002/12/09 15:24:02 ukai Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -1749,7 +1749,7 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer, } } #ifdef USE_NNTP - else if (pu.scheme == SCM_NEWS) { + else if (pu.scheme == SCM_NEWS || pu.scheme == SCM_NNTP) { t_buf = newBuffer(INIT_BUFFER_WIDTH); readHeader(&f, t_buf, TRUE, &pu); t = checkContentType(t_buf); -- cgit v1.2.3