INN commit: branches/2.4/innfeed (host.c)

INN Commit Russ_Allbery at isc.org
Thu Jan 8 19:17:55 UTC 2009


    Date: Thursday, January 8, 2009 @ 11:17:55
  Author: iulius
Revision: 8277

Fix an assertion failure in innfeed.
We have cases where all the connections to a host
are inactive and sleeping.  Therefore, cxn is still NULL
and passed to cxnCheckstate().

Thanks to William Kronert for the bug report.

Modified:
  branches/2.4/innfeed/host.c

--------+
 host.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: host.c
===================================================================
--- host.c	2009-01-08 19:15:52 UTC (rev 8276)
+++ host.c	2009-01-08 19:17:55 UTC (rev 8277)
@@ -1859,7 +1859,7 @@
       delArticle (extraRef) ;
           
       remArticle (article,&host->processed,&host->processedTail) ;
-      if (!cxnCheckstate (cxn))
+      if (cxn == NULL || !cxnCheckstate (cxn))
         {
           host->artsToTape++ ;
           host->gArtsToTape++ ;




More information about the inn-committers mailing list