Send inn-committers mailing list submissions to inn-committers@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/inn-committers or, via email, send a message with subject or body 'help' to inn-committers-requ...@lists.isc.org You can reach the person managing the list at inn-committers-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of inn-committers digest..." Today's Topics: 1. INN commit: trunk/frontends (pullnews.in) (INN Commit) ---------------------------------------------------------------------- Message: 1 Date: Tue, 3 Sep 2013 11:23:45 -0700 (PDT) From: INN Commit <r...@isc.org> To: inn-committ...@isc.org Subject: INN commit: trunk/frontends (pullnews.in) Message-ID: <20130903182345.b301f67...@hope.eyrie.org> Date: Tuesday, September 3, 2013 @ 11:23:45 Author: iulius Revision: 9535 pullnews: improve logging when an error occurs during GROUP Also rewrite a ternary condition to improve readability. Patch from Geraint A. Edwards. Modified: trunk/frontends/pullnews.in -------------+ pullnews.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: pullnews.in =================================================================== --- pullnews.in 2013-08-27 18:41:25 UTC (rev 9534) +++ pullnews.in 2013-09-03 18:23:45 UTC (rev 9535) @@ -242,7 +242,7 @@ my $no_op = $opt_n || 0; my $reader = $opt_R || 0; my $quietness = $opt_Q || 0; -my $skip_headers = defined $opt_H ? lc($opt_H) : ''; +my $skip_headers = lc($opt_H || ''); my $logFile = '>&STDOUT'; $logFile = ">>$opt_l" if $opt_l; my @hdr_to_match = split(/\s+/, $opt_m) if defined $opt_m; @@ -616,7 +616,7 @@ if (!defined($narticles)) { # Group command failed. warn sprintf ("Group command failed for $group: %s %s\n", - $fromServer->code(), $fromServer->message()); + $fromServer->code() || 'NO_CODE', $fromServer->message()); return undef; } ------------------------------ _______________________________________________ inn-committers mailing list inn-committers@lists.isc.org https://lists.isc.org/mailman/listinfo/inn-committers End of inn-committers Digest, Vol 55, Issue 1 *********************************************