Commit b860c4db authored by unknown's avatar unknown
Browse files

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

parent 85cfdc5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ sub mtr_timer_timeout ($$) {

  # We got a timeout
  my $name= $timers->{'pids'}->{$pid};
  mtr_timer_stop($timers, $timers->{'timers'}->{$name});
  mtr_timer_stop($timers, $name);
  return $name;
}