newsfeeds: Ad-flag not honoured?
julien at trigofacile.com
Sat Jul 19 15:54:38 UTC 2008
> can it be that the d - flag in newsfeeds is not honoured?
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 @@
/* Not in the site's desired list of distributions. */
- if (sp->DistRequired && list == NULL)
+ if (sp->DistRequired && list != NULL && *list == NULL)
/* Site requires Distribution header and there isn't one. */
It is a "char **list".
Maybe should I put (list == NULL) || (list != NULL && *list == NULL)
or only the second one is enough?
« Medicus dedit qui temporis morbo curam,
Is plus remedii quam cutis sector dedit. »
More information about the inn-workers