INN commit: trunk/nnrpd (nnrpd.c)
INN Commit
Russ_Allbery at isc.org
Sun Sep 7 11:53:22 UTC 2008
Date: Sunday, September 7, 2008 @ 04:53:21
Author: iulius
Revision: 8013
* XPAT uses a pattern and not a wildmat as the term refers to in RFC 3977.
* When the usage is bad, it is always because of a wrong number of arguments.
Modified:
trunk/nnrpd/nnrpd.c
---------+
nnrpd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: nnrpd.c
===================================================================
--- nnrpd.c 2008-09-07 10:31:33 UTC (rev 8012)
+++ nnrpd.c 2008-09-07 11:53:21 UTC (rev 8013)
@@ -164,7 +164,7 @@
{ "XOVER", CMDover, true, 1, 2,
"[range]" },
{ "XPAT", CMDpat, true, 4, CMDany,
- "header range|message-ID wildmat [wildmat ...]" },
+ "header range|message-ID pattern [pattern ...]" },
{ NULL, CMD_unimp, false, 0, 0,
NULL }
};
@@ -1192,7 +1192,7 @@
if ((cp->Minac != CMDany && ac < cp->Minac)
|| (cp->Maxac != CMDany && ac > cp->Maxac)) {
Reply("%d %s\r\n",
- NNTP_ERR_SYNTAX, cp->Help ? cp->Help : "Usage error");
+ NNTP_ERR_SYNTAX, cp->Help ? cp->Help : "No argument allowed");
continue;
}
More information about the inn-committers
mailing list