INN commit: trunk/nnrpd (article.c)

INN Commit rra at isc.org
Mon Dec 28 00:09:32 UTC 2009


    Date: Sunday, December 27, 2009 @ 16:09:31
  Author: iulius
Revision: 8869

Return 420 instead of 423 when current article number is used
with ARTICLE, BODY, HEAD and STAT.

Modified:
  trunk/nnrpd/article.c

-----------+
 article.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: article.c
===================================================================
--- article.c	2009-12-27 20:49:16 UTC (rev 8868)
+++ article.c	2009-12-28 00:09:31 UTC (rev 8869)
@@ -706,14 +706,14 @@
 
     /* Open the article and send the reply. */
     if (!ARTopen(atol(buff))) {
-        Reply("%s\r\n", ARTnoartingroup);
+        Reply("%s\r\n", ac == 1 ? ARTnocurrart : ARTnoartingroup);
         return;
     }
     if (ac > 1)
 	ARTnumber = tart;
     if ((msgid = GetHeader("Message-ID", true)) == NULL) {
         ARTclose();
-        Reply("%s\r\n", ARTnoartingroup);
+        Reply("%s\r\n", ac == 1 ? ARTnocurrart : ARTnoartingroup);
 	return;
     }
     /* A message-ID does not have more than 250 octets. */




More information about the inn-committers mailing list