1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-04 01:09:15 +00:00

offline downloader: better detect when no more additional requests are needed

This commit is contained in:
Andrew Dolgov
2009-02-04 23:30:05 +03:00
parent 76d20f5faf
commit 3e52ab08db
2 changed files with 17 additions and 4 deletions

View File

@@ -555,6 +555,8 @@
$limit = 50;
$skip = $limit*($stage-1);
print "<limit value=\"$limit\"/>";
if ($amount > 0) $amount -= $skip;
if ($amount > 0) {