missing formatcheck in inncheck
Wolfgang Breyha
wbreyha at gmx.net
Thu Nov 25 14:30:53 UTC 1999
Hi!
The "inncheck" Util doesn't check for lines of the style "%DEFINEx:" in
nnrp.access.
Here's a diff for inncheck to work around the error message from the unless
statement:
--- site/inncheck.orig Thu Nov 25 14:41:54 1999
+++ site/inncheck Thu Nov 25 14:20:47 1999
@@ -720,6 +720,8 @@
input: while ( <IN> ) {
next input if &spacious($file, ++$line);
+ next input if (/^%DEFINE/);
+
unless ( ($host, $perm, $user, $pass, $groups) =
/^([^:])+:([^:]*):([^:]*):([^:]*):([^:]+)$/ ) {
print "$file:$line: malformed line.\n";
Bye,
Wolfgang Breyha
--
/ Aberglaube kann mich erst dann wirklich beeindrucken,\
/ wenn jemand seinen 13. Monatsgehalt ablehnt. \
\ Wolfgang Breyha <wbreyha at gmx.net> - http://mash.nwy.at /
\ Operations Center - NETWAY AG - Vienna - Austria /
More information about the inn-workers
mailing list