From 98ed6231e130071e0b3349606ef743accc292cb6 Mon Sep 17 00:00:00 2001 From: denis <> Date: Fri, 19 Jan 2007 03:19:12 +0000 Subject: set the interval to 1800 for announce (last change was only for scrape) --- Makefile | 2 +- opentracker.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 23d96c5..525b3cb 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CC?=gcc FEATURES=#-DWANT_IP_FROM_QUERY_STRING -DWANT_BLACKLIST -DWANT_CLOSED_TRACKER #DEBUG_OPTS=-g -ggdb -pg # -fprofile-arcs -ftest-coverage DEBUG_OPTS=-s -Os -CFLAGS+=-I../libowfat -Wall -pipe # -pedantic -ansi +CFLAGS+=-I../libowfat -Wall -pipe -m64 # -pedantic -ansi LDFLAGS+=-L../libowfat/ -lowfat -lm HEADERS=trackerlogic.h scan_urlencoded_query.h diff --git a/opentracker.c b/opentracker.c index 1490177..eaf0a20 100644 --- a/opentracker.c +++ b/opentracker.c @@ -290,7 +290,7 @@ e400_param: if( OT_FLAG( &peer ) & PEER_FLAG_STOPPED ) { remove_peer_from_torrent( hash, &peer ); - memmove( static_scratch + SUCCESS_HTTP_HEADER_LENGTH, "d8:completei0e10:incompletei0e8:intervali600e5:peers0:e", reply_size = 55 ); + memmove( static_scratch + SUCCESS_HTTP_HEADER_LENGTH, "d8:completei0e10:incompletei0e8:intervali1800e5:peers0:e", reply_size = 55 ); } else { torrent = add_peer_to_torrent( hash, &peer ); if( !torrent ) { -- cgit v1.2.3