aboutsummaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-02 18:12:06 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-02 18:12:06 +0000
commit7fc90cee157b9ab6aa93b9347e2f06ee1407eff1 (patch)
treef4ebaf4ed6582ca3dc5cd47e2d431d7ddf90bef0 /url.c
parentfix typo (diff)
downloadw3m-7fc90cee157b9ab6aa93b9347e2f06ee1407eff1.tar.gz
w3m-7fc90cee157b9ab6aa93b9347e2f06ee1407eff1.zip
add comments for news: URL
Diffstat (limited to 'url.c')
-rw-r--r--url.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/url.c b/url.c
index 8daa3b9..eede800 100644
--- a/url.c
+++ b/url.c
@@ -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);