]> dxcluster.org Git - spider.git/commitdiff
fix via typo
authorminima <minima>
Wed, 28 Jul 2004 22:46:05 +0000 (22:46 +0000)
committerminima <minima>
Wed, 28 Jul 2004 22:46:05 +0000 (22:46 +0000)
perl/Investigate.pm

index 5fce74b652d4102bf201953e46529f55a186d82b..e1cb9b2801c46e72d41b4527563689b0b98b2e1a 100644 (file)
@@ -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');