INN commit: branches/2.5/frontends (cnfsheadconf.in)
INN Commit
rra at isc.org
Tue Mar 23 19:31:05 UTC 2010
Date: Tuesday, March 23, 2010 @ 12:31:05
Author: iulius
Revision: 9036
Fix a call to an uninitialized value.
Thanks to John F. Morse for the bug report.
Modified:
branches/2.5/frontends/cnfsheadconf.in
-----------------+
cnfsheadconf.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: cnfsheadconf.in
===================================================================
--- cnfsheadconf.in 2010-03-23 19:30:29 UTC (rev 9035)
+++ cnfsheadconf.in 2010-03-23 19:31:05 UTC (rev 9036)
@@ -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