chiark / gitweb /
Commit 2.4.5-5 as unpacked
[inn-innduct.git] / debian / patches / fix_ad_flag
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 --- 2.4/innd/art.c      2008/04/06 13:49:56     7748
6 +++ 2.4/innd/art.c      2008/07/20 10:20:41     7936
7 @@ -1725,7 +1725,7 @@
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