INN commit: branches/2.4/innd (art.c)

INN Commit Russ_Allbery at isc.org
Sun Jul 20 10:20:42 UTC 2008


    Date: Sunday, July 20, 2008 @ 03:20:41
  Author: iulius
Revision: 7936

Fix a bug which causes innd not to honour the Ad flag in newsfeeds.
Thanks to Andreas Mattheiss for his bug report.

Modified:
  branches/2.4/innd/art.c

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

Modified: art.c
===================================================================
--- art.c	2008-07-20 10:20:41 UTC (rev 7935)
+++ art.c	2008-07-20 10:20:41 UTC (rev 7936)
@@ -1725,7 +1725,7 @@
       !DISTwantany(sp->Distributions, list))
       /* Not in the site's desired list of distributions. */
       continue;
-    if (sp->DistRequired && list == NULL)
+    if (sp->DistRequired && (list == NULL || *list == NULL))
       /* Site requires Distribution header and there isn't one. */
       continue;
 



More information about the inn-committers mailing list