aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-06 15:36:56 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-06 15:36:56 +0000
commitff20968c8c0cbafa349495c791f700775d0e23af (patch)
treeb3610ae72e8d9e30344a0d29bb0cfb0cc8c78611 /main.c
parentfix build errors (diff)
downloadw3m-ff20968c8c0cbafa349495c791f700775d0e23af.tar.gz
w3m-ff20968c8c0cbafa349495c791f700775d0e23af.zip
[w3m-dev 03610] Re: news:<newsgroup>
* anchor.c (_put_anchor_news): check '<' (reAnchorNewsheader): added * file.c (loadSomething): Subject: as buffername (checkHeader): check buf->document_header (loadGeneralFile): reAnchorNewsheader * html.h (SCM_NNTP_GROUP): added * main.c (main): delete USE_NNTP in switch (newbuf->real_scheme) (chkNMIDBuffer): lowercase in url_like_pat * news.c (add_news_message): add scheme, group as arg (openNewsStream): check SCM_NNTP_GROUP check current_news.host (readNewsgroup): rewrite to support nntp:,news: extension * proto.h (reAnchorNewsheader): added * url.c (DefaultPort): add 119 for nntp group (parseURL2): rewrite to support nntp:,news: extension (_parsedURL2Str): add for SCM_NNTP_GROUP (openURL): rewrite to support nntp:,news: extension From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--main.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/main.c b/main.c
index 216971a..486e360 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.183 2002/12/27 16:07:44 ukai Exp $ */
+/* $Id: main.c,v 1.184 2003/01/06 15:36:59 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -874,11 +874,6 @@ main(int argc, char **argv, char **envp)
else if (newbuf == NO_BUFFER)
continue;
switch (newbuf->real_scheme) {
-#ifdef USE_NNTP
- case SCM_NNTP:
- case SCM_NEWS:
- case SCM_NEWS_GROUP:
-#endif /* USE_NNTP */
case SCM_MAILTO:
break;
case SCM_LOCAL:
@@ -4636,7 +4631,7 @@ void
chkNMIDBuffer(Buffer *buf)
{
static char *url_like_pat[] = {
- "<[!-;=?-~]+@[A-z0-9\\.\\-_]+>",
+ "<[!-;=?-~]+@[a-zA-Z0-9\\.\\-_]+>",
NULL,
};
int i;