diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-09 15:24:00 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-09 15:24:00 +0000 |
commit | f9657e4719bd2f0e006a24e9640b89bf051bbf53 (patch) | |
tree | 798f224cc08b2de2c94e888f64e1b9d645b2f03b /file.c | |
parent | [w3m-dev 03541] Re: W3M_LINE_NO / W3M_CURRENT_COLUMN (diff) | |
download | w3m-f9657e4719bd2f0e006a24e9640b89bf051bbf53.tar.gz w3m-f9657e4719bd2f0e006a24e9640b89bf051bbf53.zip |
[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 <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <sys/types.h> #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); |