summaryrefslogtreecommitdiff
path: root/Echolot/Stats.pm
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2003-02-18 06:38:34 +0000
committerPeter Palfrader <peter@palfrader.org>2003-02-18 06:38:34 +0000
commit4a14e35aa72f11b04fac87d1ebc8cf8f1e2828e1 (patch)
tree6efaaa4a5a31a08e387bfd658630cd81cc14a4b7 /Echolot/Stats.pm
parent8008d99c22778c8735d4ad24352a61e2d7c17d84 (diff)
List From: headers
Diffstat (limited to 'Echolot/Stats.pm')
-rw-r--r--Echolot/Stats.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Echolot/Stats.pm b/Echolot/Stats.pm
index 4575562..a91dc57 100644
--- a/Echolot/Stats.pm
+++ b/Echolot/Stats.pm
@@ -1,7 +1,7 @@
package Echolot::Stats;
# (c) 2002 Peter Palfrader <peter@palfrader.org>
-# $Id: Stats.pm,v 1.48 2003/02/17 07:22:49 weasel Exp $
+# $Id: Stats.pm,v 1.49 2003/02/18 06:38:09 weasel Exp $
#
=pod
@@ -532,7 +532,7 @@ sub find_broken_chains($$$) {
my $done = $stats->{$addr1}->{$addr2}->{'done'};
$done = 0 unless defined $done;
($out < Echolot::Config::get()->{'chainping_minsample'} && $done == 0) and
- push (@intensive_care, { addr1 => $addr1, addr2 => $addr2, reason => "only $out samples, none returned so far" }),
+ push (@intensive_care, { addr1 => $addr1, addr2 => $addr2, reason => "only $out sample".($out>1?'s':'').", none returned so far" }),
next;
($out > 0) or
Echolot::Log::debug("Should not devide through zero ($done/$out) for $addr1, $addr2."),