cleanfeed problem

Russ Allbery rra at stanford.edu
Sat Jun 3 23:54:03 UTC 2000


Jon Mansey <jon at interpacket.net> writes:

> I tried starting cleanfeed today on a new reader box, got this error

> Jun  3 15:34:30 news2 innd: SERVER reload filter.perl meow
> Jun  3 15:34:30 news2 innd: Perl function filter_art died: 
> Modification of a rea
> d-only value attempted at /usr/local/news/bin/filter/filter_innd.pl line 572.
> Jun  3 15:34:30 news2 innd: SERVER perl filtering disabled

> Line 571 of cleanfeed looks like

> # count the lines in the article
>          $lines = $hdr{'__BODY__'} =~ tr/\n/\n/;

> Any tips, Im lost.

Change that line to:

    $lines = $hdr{'__LINES__'};

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-workers mailing list