InterNetNews / inn

INN (InterNetNews) Usenet server
https://www.isc.org/othersoftware/#INN
Other
68 stars 12 forks source link

inncheck error #268

Closed nelgin closed 1 year ago

nelgin commented 1 year ago

Using the recommended parameters per the man page

news@www:~/bin$ inncheck -a --perm --pedantic

Results in the following error.

Use of uninitialized value $k in hash element at /news/bin/inncheck line 834, <$IN> line 325. /news/etc/newsfeeds:319: unknown flag `'

Julien-Elie commented 1 year ago

This Perl warning should be fixed, indeed. Could you please tell what the newsfeeds entry is at line 319? (empty flags?)

nelgin commented 1 year ago

It was bad information from a new peer

:Ap,Tm,,<262144:innfeed!

Looks like it didn’t like the double comma. I removed it and did a new check and the error is gone. Might be worth catching it though.

Julien-Elie commented 1 year ago

Fixed. There's no longer a Perl warning for an undefined variable. And the reported error will now be:

/news/etc/newsfeeds:319: empty flag in `Ap,Tm,,<262144'

It will be easier to understand what is wrong.