Skip to content

Commit

Permalink
Fixed non-existent method error
Browse files Browse the repository at this point in the history
  • Loading branch information
cosimo committed Feb 2, 2012
1 parent 0e478f3 commit 445d16f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Net/Prober/Probe/Base.pm
Expand Up @@ -37,7 +37,7 @@ sub probe_failed {

if (! exists $info{time}) {
my $elapsed = exists $self->{_time}
? $self->elapsed_time()
? $self->time_elapsed()
: 0.0;
$info{time} = $elapsed;
}
Expand All @@ -59,7 +59,7 @@ sub probe_ok {

if (! exists $info{time}) {
my $elapsed = exists $self->{_time}
? $self->elapsed_time()
? $self->time_elapsed()
: 0.0;
$info{time} = $elapsed;
}
Expand Down

0 comments on commit 445d16f

Please sign in to comment.