newsfeeds: Ad-flag not honoured?
Andreas Mattheiss
andreas.mattheiss at gmx.de
Sat Jul 19 18:44:07 UTC 2008
Salut Julien,
merci pour la response vite.
Am Sat, Jul 19, 2008 at 05:54:38PM +0200 schrieb Julien ÉLIE:
> 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;
I've slapped this on my 2.4.2 source tree, recompiled innd and things
are working now as they should.
Thanks
Andreas
More information about the inn-workers
mailing list