Commit b860c4db authored by unknown's avatar unknown

Fix bug where a timer was stopped by calling mtr_timer_stop with a "timer" instead of it's name

parent 85cfdc5b
...@@ -144,7 +144,7 @@ sub mtr_timer_timeout ($$) { ...@@ -144,7 +144,7 @@ sub mtr_timer_timeout ($$) {
# We got a timeout # We got a timeout
my $name= $timers->{'pids'}->{$pid}; my $name= $timers->{'pids'}->{$pid};
mtr_timer_stop($timers, $timers->{'timers'}->{$name}); mtr_timer_stop($timers, $name);
return $name; return $name;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment