summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2007-01-16 01:35:10 +0000
committererdgeist <>2007-01-16 01:35:10 +0000
commit745985c7263678c99dfb2ec67067a47955d0cacd (patch)
treea6f30633b15b6dcf36e7a2ea765e20d79f534245 /opentracker.c
parentcde935b5bd41b46976be48777ee4a118c807157a (diff)
Previous answer to event=stopped irritated some clients. Now reply with a static nothing-message
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 8c53452..64dbe9f 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -254,7 +254,7 @@ e400_param:
254 254
255 if( OT_FLAG( &peer ) & PEER_FLAG_STOPPED ) { 255 if( OT_FLAG( &peer ) & PEER_FLAG_STOPPED ) {
256 remove_peer_from_torrent( hash, &peer ); 256 remove_peer_from_torrent( hash, &peer );
257 memmove( static_reply + SUCCESS_HTTP_HEADER_LENGTH, "d15:warning message4:Okaye", reply_size = 26 ); 257 memmove( static_reply + SUCCESS_HTTP_HEADER_LENGTH, "d8:completei0e10:incompletei0e8:intervali600e5:peers0:e", reply_size = 55 );
258 } else { 258 } else {
259 torrent = add_peer_to_torrent( hash, &peer ); 259 torrent = add_peer_to_torrent( hash, &peer );
260 if( !torrent ) { 260 if( !torrent ) {