INN commit: branches/2.5/innd (nc.c)

INN Commit rra at isc.org
Sun Mar 14 20:59:15 UTC 2010


    Date: Sunday, March 14, 2010 @ 13:59:15
  Author: iulius
Revision: 8996

When answering to IHAVE, innd was sending a checkpoint to the
remote server in case it was time to write a checkpoint to
syslog.

Modified:
  branches/2.5/innd/nc.c

------+
 nc.c |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: nc.c
===================================================================
--- nc.c	2010-03-14 20:55:56 UTC (rev 8995)
+++ nc.c	2010-03-14 20:59:15 UTC (rev 8996)
@@ -271,14 +271,12 @@
   }
   cp->Reported++;
   if (cp->Reported >= innconf->incominglogfrequency) {
-    snprintf(buff, sizeof(buff),
-             "accepted size %.0f duplicate size %.0f rejected size %.0f",
-             cp->Size, cp->DuplicateSize, cp->RejectSize);
     syslog(L_NOTICE,
-           "%s checkpoint seconds %ld accepted %ld refused %ld rejected %ld duplicate %ld %s",
+           "%s checkpoint seconds %ld accepted %ld refused %ld rejected %ld duplicate %ld"
+           " accepted size %.0f duplicate size %.0f rejected size %.0f",
            CHANname(cp), (long)(Now.tv_sec - cp->Started),
            cp->Received, cp->Refused, cp->Rejected,
-           cp->Duplicate, buff);
+           cp->Duplicate, cp->Size, cp->DuplicateSize, cp->RejectSize);
     cp->Reported = 0;
   }
 




More information about the inn-committers mailing list