mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 23:54:18 +02:00
Bugfix on infinite loop
This commit is contained in:
parent
1920d747f6
commit
a73a5475db
@ -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