summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping
diff options
context:
space:
mode:
authorTobias Oetiker <tobi@oetiker.ch>2011-11-23 14:14:01 +0100
committerTobias Oetiker <tobi@oetiker.ch>2011-11-23 14:14:01 +0100
commit8bb8c6817b082fd11ece24119064607bc287dfec (patch)
treebd38ba58aa02278830e8cad783ff2ef943880235 /lib/Smokeping
parent91d090167d30c90a7f4daff1e468ad7d0f717049 (diff)
downloadsmokeping-8bb8c6817b082fd11ece24119064607bc287dfec.tar.gz
smokeping-8bb8c6817b082fd11ece24119064607bc287dfec.tar.xz
add missing } ... syntax error
Diffstat (limited to 'lib/Smokeping')
-rw-r--r--lib/Smokeping/matchers/Median.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/matchers/Median.pm b/lib/Smokeping/matchers/Median.pm
index 35953dd..22a2445 100644
--- a/lib/Smokeping/matchers/Median.pm
+++ b/lib/Smokeping/matchers/Median.pm
@@ -85,7 +85,7 @@ sub Test($$)
my $ac = $self->{param}{old};
my $bc = $self->{param}{new};
my $cc = $ac +$bc;
- my $count = scalar @{$data->{rtt};
+ my $count = scalar @{$data->{rtt}};
$cc = $count if $count < $cc;
$bc = $count if $count < $bc;
my $oldm = robust_median(@{$data->{rtt}}[-$cc..-$bc-1]);