INN commit: trunk/nnrpd (group.c nnrpd.c)
INN Commit
Russ_Allbery at isc.org
Sat Aug 23 13:45:17 UTC 2008
Date: Saturday, August 23, 2008 @ 06:45:17
Author: iulius
Revision: 7954
* LISTGROUP now returns the right code 412 and not 481.
* Specify in HELP that:
- "newsgroup" in LISTGROUP is an optional value;
- active, active.times and newsgroups in LIST have
an optional third value.
* NEWGROUPS do not expect a fifth element.
Modified:
trunk/nnrpd/group.c
trunk/nnrpd/nnrpd.c
---------+
group.c | 2 +-
nnrpd.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
Modified: group.c
===================================================================
--- group.c 2008-08-23 13:45:02 UTC (rev 7953)
+++ group.c 2008-08-23 13:45:17 UTC (rev 7954)
@@ -43,7 +43,7 @@
/* Parse arguments. */
if (ac == 1) {
if (GRPcur == NULL) {
- Printf("%d No group specified\r\n", NNTP_FAIL_XGTITLE);
+ Printf("%d No group specified\r\n", NNTP_FAIL_NO_GROUP);
return;
} else {
group = xstrdup(GRPcur);
Modified: nnrpd.c
===================================================================
--- nnrpd.c 2008-08-23 13:45:02 UTC (rev 7953)
+++ nnrpd.c 2008-08-23 13:45:17 UTC (rev 7954)
@@ -128,12 +128,12 @@
{ "last", CMDnextlast, true, 1, 1,
NULL },
{ "list", CMDlist, true, 1, 3,
- "[active|active.times|distrib.pats|distributions|extensions|moderators|motd|newsgroups|overview.fmt|subscriptions]" },
+ "[active [wildmat]|active.times [wildmat]|distrib.pats|distributions|extensions|moderators|motd|newsgroups [wildmat]|overview.fmt|subscriptions]" },
{ "listgroup", CMDgroup, true, 1, 2,
- "newsgroup" },
+ "[newsgroup]" },
{ "mode", CMDmode, false, 2, 2,
"reader" },
- { "newgroups", CMDnewgroups, true, 3, 5,
+ { "newgroups", CMDnewgroups, true, 3, 4,
"[YY]yymmdd hhmmss [\"GMT\"]" },
{ "newnews", CMDnewnews, true, 4, 5,
"newsgroups [YY]yymmdd hhmmss [\"GMT\"]" },
More information about the inn-committers
mailing list