From 8bb8c6817b082fd11ece24119064607bc287dfec Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Wed, 23 Nov 2011 14:14:01 +0100 Subject: add missing } ... syntax error --- lib/Smokeping/matchers/Median.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- cgit v1.2.3-24-g4f1b