set the interval to 1800 for announce (last change was only for scrape)

This commit is contained in:
denis 2007-01-19 03:19:12 +00:00
parent 908649af98
commit 98ed6231e1
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 ) {