INN commit: trunk/innd (art.c)

INN Commit Russ_Allbery at isc.org
Wed Mar 18 21:09:17 UTC 2009


    Date: Wednesday, March 18, 2009 @ 14:09:16
  Author: iulius
Revision: 8389

Do not log 437/439 when the article is not rejected.

Modified:
  trunk/innd/art.c

-------+
 art.c |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: art.c
===================================================================
--- art.c	2009-03-18 20:22:20 UTC (rev 8388)
+++ art.c	2009-03-18 21:09:16 UTC (rev 8389)
@@ -2477,18 +2477,15 @@
   if (data->CRwithoutLF > 0 || data->LFwithoutCR > 0) {
     if (data->CRwithoutLF > 0 && data->LFwithoutCR == 0)
       snprintf(cp->Error, sizeof(cp->Error),
-               "%d article includes CR without LF(%d)",
-               ihave ? NNTP_FAIL_IHAVE_REJECT : NNTP_FAIL_TAKETHIS_REJECT,
+               "Article accepted but includes CR without LF(%d)",
                data->CRwithoutLF);
     else if (data->CRwithoutLF == 0 && data->LFwithoutCR > 0)
       snprintf(cp->Error, sizeof(cp->Error),
-               "%d article includes LF without CR(%d)",
-               ihave ? NNTP_FAIL_IHAVE_REJECT : NNTP_FAIL_TAKETHIS_REJECT,
+               "Article accepted but includes LF without CR(%d)",
                data->LFwithoutCR);
     else
       snprintf(cp->Error, sizeof(cp->Error),
-               "%d article includes CR without LF(%d) and LF withtout CR(%d)",
-               ihave ? NNTP_FAIL_IHAVE_REJECT : NNTP_FAIL_TAKETHIS_REJECT,
+               "Article accepted but includes CR without LF(%d) and LF withtout CR(%d)",
                data->CRwithoutLF, data->LFwithoutCR);
     ARTlog(data, ART_STRSTR, cp->Error);
   }




More information about the inn-committers mailing list