summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authordenis <>2007-01-19 03:19:12 +0000
committerdenis <>2007-01-19 03:19:12 +0000
commit98ed6231e130071e0b3349606ef743accc292cb6 (patch)
tree5ff95867c62211385fe85e2806ffa0f2980ff6d6 /opentracker.c
parent908649af9841b224d783bcf091fa3bb2e29dfd07 (diff)
set the interval to 1800 for announce (last change was only for scrape)
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index 1490177..eaf0a20 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -290,7 +290,7 @@ e400_param:
290 290
291 if( OT_FLAG( &peer ) & PEER_FLAG_STOPPED ) { 291 if( OT_FLAG( &peer ) & PEER_FLAG_STOPPED ) {
292 remove_peer_from_torrent( hash, &peer ); 292 remove_peer_from_torrent( hash, &peer );
293 memmove( static_scratch + SUCCESS_HTTP_HEADER_LENGTH, "d8:completei0e10:incompletei0e8:intervali600e5:peers0:e", reply_size = 55 ); 293 memmove( static_scratch + SUCCESS_HTTP_HEADER_LENGTH, "d8:completei0e10:incompletei0e8:intervali1800e5:peers0:e", reply_size = 55 );
294 } else { 294 } else {
295 torrent = add_peer_to_torrent( hash, &peer ); 295 torrent = add_peer_to_torrent( hash, &peer );
296 if( !torrent ) { 296 if( !torrent ) {