diff options
author | Tobias Oetiker <tobi@oetiker.ch> | 2011-11-23 14:14:01 +0100 |
---|---|---|
committer | Tobias Oetiker <tobi@oetiker.ch> | 2011-11-23 14:14:01 +0100 |
commit | 8bb8c6817b082fd11ece24119064607bc287dfec (patch) | |
tree | bd38ba58aa02278830e8cad783ff2ef943880235 /lib/Smokeping/matchers | |
parent | 91d090167d30c90a7f4daff1e468ad7d0f717049 (diff) | |
download | smokeping-8bb8c6817b082fd11ece24119064607bc287dfec.tar.gz smokeping-8bb8c6817b082fd11ece24119064607bc287dfec.tar.xz |
add missing } ... syntax error
Diffstat (limited to 'lib/Smokeping/matchers')
-rw-r--r-- | lib/Smokeping/matchers/Median.pm | 2 |
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]); |