INN commit: branches/2.5/frontends (pullnews.in)

INN Commit rra at isc.org
Mon Jul 8 19:30:33 UTC 2013


    Date: Monday, July 8, 2013 @ 12:30:33
  Author: iulius
Revision: 9505

pullnews:  fixed a Perl warning

Latest Perl versions catch this use of uninitialized variable.

Thanks to Tony Evans for the bug report.

Modified:
  branches/2.5/frontends/pullnews.in

-------------+
 pullnews.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: pullnews.in
===================================================================
--- pullnews.in	2013-07-08 19:28:15 UTC (rev 9504)
+++ pullnews.in	2013-07-08 19:30:33 UTC (rev 9505)
@@ -233,7 +233,7 @@
 my $no_op               = $opt_n || 0;
 my $reader              = $opt_R || 0;
 my $quietness           = $opt_Q || 0;
-my $skip_headers        = lc($opt_H) || '';
+my $skip_headers        = defined $opt_H ? lc($opt_H) : '';
 my $logFile             = '>&STDOUT';
 $logFile                = ">>$opt_l" if $opt_l;
 my @hdr_to_match        = split(/\s+/, $opt_m) if defined $opt_m;



More information about the inn-committers mailing list