INN commit: trunk/frontends (pullnews.in)

INN Commit rra at isc.org
Fri Jul 26 20:29:02 UTC 2013


    Date: Friday, July 26, 2013 @ 13:29:02
  Author: iulius
Revision: 9512

pullnews:  fixed a Perl warning

Latest Perl versions catch this use of uninitialized variable.

Thanks to Tony Evans for the bug report.

Modified:
  trunk/frontends/pullnews.in

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

Modified: pullnews.in
===================================================================
--- pullnews.in	2013-07-26 20:28:04 UTC (rev 9511)
+++ pullnews.in	2013-07-26 20:29:02 UTC (rev 9512)
@@ -242,7 +242,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