commit 9ec238d0c7645fe1681899d62659f56e2ac5d298
parent f940635633ff439d5cda2939c0a9ba796b584e2b
Author: ukai <ukai>
Date: Sat, 2 Nov 2002 18:12:06 +0000
add comments for news: URL
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/url.c b/url.c
@@ -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);