From: minima Date: Wed, 28 Jul 2004 22:46:05 +0000 (+0000) Subject: fix via typo X-Git-Tag: R_1_51B~21 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=eb4918707eb5fa97782c3c15aafdbc8cce44d446;hp=b70be747913c158cb53bc6f7277f803f93bbb98d;p=spider.git fix via typo --- diff --git a/perl/Investigate.pm b/perl/Investigate.pm index 5fce74b6..e1cb9b28 100644 --- a/perl/Investigate.pm +++ b/perl/Investigate.pm @@ -122,8 +122,8 @@ sub process { while (my ($k, $v) = each %list) { if ($v->{state} eq 'start') { - my $v = $via{$v->{via}} || 0; - if ($main::systime > $v+$pingint) { + my $via = $via{$v->{via}} || 0; + if ($main::systime > $via+$pingint) { DXProt::addping($main::mycall, $v->{call}, $v->{via}); $v->{start} = $lastping = $main::systime; dbg("Investigate: ping sent to $v->{call} via $v->{via}") if isdbg('investigate');