diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-02 18:12:06 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-02 18:12:06 +0000 |
commit | 7fc90cee157b9ab6aa93b9347e2f06ee1407eff1 (patch) | |
tree | f4ebaf4ed6582ca3dc5cd47e2d431d7ddf90bef0 /url.c | |
parent | fix typo (diff) | |
download | w3m-7fc90cee157b9ab6aa93b9347e2f06ee1407eff1.tar.gz w3m-7fc90cee157b9ab6aa93b9347e2f06ee1407eff1.zip |
add comments for news: URL
Diffstat (limited to '')
-rw-r--r-- | url.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: url.c,v 1.52 2002/10/08 15:28:37 ukai Exp $ */ +/* $Id: url.c,v 1.53 2002/11/02 18:12:06 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include <sys/socket.h> @@ -1748,6 +1748,8 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current, case SCM_NNTP: /* nntp://<host>:<port>/<newsgroup-name>/<article-number> */ case SCM_NEWS: + /* news:<newsgroup-name> XXX: not yet */ + /* news:<unique>@<full_domain_name> */ if (pu->scheme == SCM_NNTP) { p = pu->host; } @@ -1802,6 +1804,7 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current, fprintf(fw, "ARTICLE %s\r\n", p); } else { + /* pu-file contains '@' => news:<message-id> */ fprintf(fw, "ARTICLE <%s>\r\n", url_unquote(pu->file)); } fflush(fw); |