summaryrefslogtreecommitdiff
path: root/trackerlogic.c
diff options
context:
space:
mode:
authordenis <>2007-01-15 23:40:58 +0000
committerdenis <>2007-01-15 23:40:58 +0000
commitcde935b5bd41b46976be48777ee4a118c807157a (patch)
treeb90e21434fb452facbb5cc470e7ee5341d2f6825 /trackerlogic.c
parent41c307c3b0bd83a516d1418d28fd0fdab2acab04 (diff)
set interval to default value from original tracker
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 e4ea0ea..901697d 100644
--- a/trackerlogic.c
+++ b/trackerlogic.c
@@ -252,7 +252,7 @@ size_t return_peers_for_torrent( ot_torrent *torrent, unsigned int amount, char
252 } 252 }
253 if( peer_count < amount ) amount = peer_count; 253 if( peer_count < amount ) amount = peer_count;
254 254
255 r += sprintf( r, "d8:completei%ie10:incompletei%ie8:intervali600e5:peers%i:", seed_count, peer_count-seed_count, 6*amount ); 255 r += sprintf( r, "d8:completei%ie10:incompletei%ie8:intervali1800e5:peers%i:", seed_count, peer_count-seed_count, 6*amount );
256 if( amount ) { 256 if( amount ) {
257 unsigned int pool_offset, pool_index = 0;; 257 unsigned int pool_offset, pool_index = 0;;
258 unsigned int shifted_pc = peer_count; 258 unsigned int shifted_pc = peer_count;