INN commit: trunk (CONTRIBUTORS 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: 7935

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

Modified:
  trunk/CONTRIBUTORS
  trunk/innd/art.c

--------------+
 CONTRIBUTORS |    2 +-
 innd/art.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Modified: CONTRIBUTORS
===================================================================
--- CONTRIBUTORS	2008-07-12 18:11:33 UTC (rev 7934)
+++ CONTRIBUTORS	2008-07-20 10:20:41 UTC (rev 7935)
@@ -268,4 +268,4 @@
 Kai Gallasch, Ollivier Robert, Ivan Shmakov, Kachun Lee, Kirill Berezin,
 D. Stussy, Alan Schwartz, Shalon Wood, Nick Couchman, Jakub Bogusz,
 J. Thomas Halliley, Matija Nalis, Geraint A. Edwards, Alexander Bartolich,
-David Hlacik
+David Hlacik, Andreas Mattheiss

Modified: innd/art.c
===================================================================
--- innd/art.c	2008-07-12 18:11:33 UTC (rev 7934)
+++ innd/art.c	2008-07-20 10:20:41 UTC (rev 7935)
@@ -1709,7 +1709,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