Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Commit

Permalink
Don't check upper bound of update interval
Browse files Browse the repository at this point in the history
  • Loading branch information
virustotalop committed Aug 1, 2020
1 parent 962a9a4 commit 8bc2396
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private int parseInteger(String data)
private int parseUpdateInterval(String data)
{
int updateInterval = this.parseInteger(data);
if(updateInterval < 0 || updateInterval > 20)
if(updateInterval < 0)
return 0;

return updateInterval;
Expand Down

0 comments on commit 8bc2396

Please sign in to comment.