INN commit: branches/2.4/nnrpd (group.c list.c nnrpd.c)
INN Commit
Russ_Allbery at isc.org
Sat Aug 23 13:45:03 UTC 2008
Date: Saturday, August 23, 2008 @ 06:45:02
Author: iulius
Revision: 7953
* LIST EXTENSIONS now returns the right code 215 and not 202.
* 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:
branches/2.4/nnrpd/group.c
branches/2.4/nnrpd/list.c
branches/2.4/nnrpd/nnrpd.c
---------+
group.c | 2 +-
list.c | 2 +-
nnrpd.c | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
Modified: group.c
===================================================================
--- group.c 2008-08-23 12:41:18 UTC (rev 7952)
+++ group.c 2008-08-23 13:45:02 UTC (rev 7953)
@@ -41,7 +41,7 @@
/* Parse arguments. */
if (ac == 1) {
if (GRPcur == NULL) {
- Printf("%d No group specified\r\n", NNTP_XGTITLE_BAD);
+ Printf("%d No group specified\r\n", NNTP_NOTINGROUP_VAL);
return;
} else {
group = xstrdup(GRPcur);
Modified: list.c
===================================================================
--- list.c 2008-08-23 12:41:18 UTC (rev 7952)
+++ list.c 2008-08-23 13:45:02 UTC (rev 7953)
@@ -105,7 +105,7 @@
static void
cmd_list_extensions(LISTINFO *lp)
{
- Reply("%d %s.\r\n", NNTP_SLAVEOK_VAL, lp->Format);
+ Reply("%d %s.\r\n", NNTP_LIST_FOLLOWS_VAL, lp->Format);
if (PERMauthorized != true)
Printf("AUTHINFO USER\r\n");
Printf("LISTGROUP\r\n");
Modified: nnrpd.c
===================================================================
--- nnrpd.c 2008-08-23 12:41:18 UTC (rev 7952)
+++ nnrpd.c 2008-08-23 13:45:02 UTC (rev 7953)
@@ -130,12 +130,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