INN commit: trunk/frontends (cnfsheadconf.in)
INN Commit
rra at isc.org
Tue Mar 23 19:30:08 UTC 2010
Date: Tuesday, March 23, 2010 @ 12:30:08
Author: iulius
Revision: 9034
Fix a call to an uninitialized value.
Thanks to John F. Morse for the bug report.
Modified:
trunk/frontends/cnfsheadconf.in
-----------------+
cnfsheadconf.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: cnfsheadconf.in
===================================================================
--- cnfsheadconf.in 2010-03-23 18:32:27 UTC (rev 9033)
+++ cnfsheadconf.in 2010-03-23 19:30:08 UTC (rev 9034)
@@ -129,7 +129,7 @@
}
$class{$line[1]} = $line[2];
- if ($line[3] ne "") {
+ if (scalar @line > 3 && $line[3] ne "") {
$metamode{$line[1]} = $line[3];
} else {
$metamode{$line[1]} = "INTERLEAVE";
More information about the inn-committers
mailing list