newsfeeds: Ad-flag not honoured?
Julien ÉLIE
julien at trigofacile.com
Sat Jul 19 15:54:38 UTC 2008
Hi Andreas,
> can it be that the d - flag in newsfeeds is not honoured?
Nice catch!
I believe this patch fixes it (at least, it seemed to work well
when I tested):
--- innd/art.c (révision 7932)
+++ innd/art.c (copie de travail)
@@ -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;
It is a "char **list".
Maybe should I put (list == NULL) || (list != NULL && *list == NULL)
or only the second one is enough?
--
Julien ÉLIE
« Medicus dedit qui temporis morbo curam,
Is plus remedii quam cutis sector dedit. »
More information about the inn-workers
mailing list