summaryrefslogtreecommitdiff
path: root/trackerlogic.c
diff options
context:
space:
mode:
authorerdgeist <>2007-01-25 14:16:26 +0000
committererdgeist <>2007-01-25 14:16:26 +0000
commitdffea5da69b19c6812700839885c9997e73db7ec (patch)
treeb437d73856aa62608dc6cc35dd6f7b94b888e543 /trackerlogic.c
parent2f0658a3afa65847c11612bd28a65c8c9cbc8725 (diff)
return random check back intervals to our clients
Diffstat (limited to 'trackerlogic.c')
-rw-r--r--trackerlogic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trackerlogic.c b/trackerlogic.c
index ea9b929..4de5038 100644
--- a/trackerlogic.c
+++ b/trackerlogic.c
@@ -253,7 +253,7 @@ size_t return_peers_for_torrent( ot_torrent *torrent, unsigned int amount, char
253 } 253 }
254 if( peer_count < amount ) amount = peer_count; 254 if( peer_count < amount ) amount = peer_count;
255 255
256 r += sprintf( r, "d8:completei%ie10:incompletei%ie8:intervali1800e5:peers%i:", seed_count, peer_count-seed_count, 6*amount ); 256 r += sprintf( r, "d8:completei%ie10:incompletei%ie8:intervali%ie5:peers%i:", seed_count, peer_count-seed_count, OT_CLIENT_REQUEST_INTERVAL_RANDOM, 6*amount );
257 if( amount ) { 257 if( amount ) {
258 unsigned int pool_offset, pool_index = 0;; 258 unsigned int pool_offset, pool_index = 0;;
259 unsigned int shifted_pc = peer_count; 259 unsigned int shifted_pc = peer_count;