summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-04 23:30:05 +0300
committerAndrew Dolgov <[email protected]>2009-02-04 23:30:05 +0300
commit3e52ab08db639e8cffd1216ec02fc4b18dbdd373 (patch)
tree53c1136cbf9002291223cb437f922ab5aacab0f1 /modules
parent76d20f5fafbc793f7d29686c09c9516cd7546d6c (diff)
offline downloader: better detect when no more additional requests are needed
Diffstat (limited to 'modules')
-rw-r--r--modules/backend-rpc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php
index 033646c34..78ccd1fd6 100644
--- a/modules/backend-rpc.php
+++ b/modules/backend-rpc.php
@@ -555,6 +555,8 @@
$limit = 50;
$skip = $limit*($stage-1);
+ print "<limit value=\"$limit\"/>";
+
if ($amount > 0) $amount -= $skip;
if ($amount > 0) {