summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--opentracker.c2
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
2FEATURES=#-DWANT_IP_FROM_QUERY_STRING -DWANT_BLACKLIST -DWANT_CLOSED_TRACKER 2FEATURES=#-DWANT_IP_FROM_QUERY_STRING -DWANT_BLACKLIST -DWANT_CLOSED_TRACKER
3#DEBUG_OPTS=-g -ggdb -pg # -fprofile-arcs -ftest-coverage 3#DEBUG_OPTS=-g -ggdb -pg # -fprofile-arcs -ftest-coverage
4DEBUG_OPTS=-s -Os 4DEBUG_OPTS=-s -Os
5CFLAGS+=-I../libowfat -Wall -pipe # -pedantic -ansi 5CFLAGS+=-I../libowfat -Wall -pipe -m64 # -pedantic -ansi
6LDFLAGS+=-L../libowfat/ -lowfat -lm 6LDFLAGS+=-L../libowfat/ -lowfat -lm
7 7
8HEADERS=trackerlogic.h scan_urlencoded_query.h 8HEADERS=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:
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 ) {