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

This commit is contained in:
unknown 2006-10-18 16:30:51 +02:00
commit b860c4dbf5

View file

@ -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;
}