mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-24 22:25:02 +02:00
Bugfix on infinite loop
This commit is contained in:
parent
c1a1263db0
commit
b01d950829
@ -183,7 +183,7 @@ sub get {
|
||||
}
|
||||
|
||||
$first_result += $max_results;
|
||||
last if ($max_results > $content->{queryResponse}->{'@count'});
|
||||
last if ($first_result > $content->{queryResponse}->{'@count'});
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user