Debian Codegraph @

debian/patches/fix_ad_flag

raw
1 honour the Ad flag in newsfeeds
2
3 http://inn.eyrie.org/viewcvs/branches/2.4/innd/art.c?r1=7748&r2=7936&pathrev=7936&view=patch
4
5 --- a/innd/art.c
6 +++ b/innd/art.c
7 @@ -1682,7 +1682,7 @@ ARTpropagate(Data, hops, hopcount, list)
8 && !DISTwantany(sp->Distributions, list))
9 /* Not in the site's desired list of distributions. */
10 continue;
11 - if (sp->DistRequired && list == NULL)
12 + if (sp->DistRequired && (list == NULL || *list == NULL))
13 /* Site requires Distribution header and there isn't one. */
14 continue;
15