]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
Previous answer to event=stopped irritated some clients. Now reply with a static...
authorerdgeist <>
Tue, 16 Jan 2007 01:35:10 +0000 (01:35 +0000)
committererdgeist <>
Tue, 16 Jan 2007 01:35:10 +0000 (01:35 +0000)
opentracker.c

index 8c53452eaf9c275d2a179495639084aed45df211..64dbe9f67854e57d5a84aeef609b48ecd907ccf8 100644 (file)
@@ -254,7 +254,7 @@ e400_param:
 
     if( OT_FLAG( &peer ) & PEER_FLAG_STOPPED ) {
       remove_peer_from_torrent( hash, &peer );
-      memmove( static_reply + SUCCESS_HTTP_HEADER_LENGTH, "d15:warning message4:Okaye", reply_size = 26 );
+      memmove( static_reply + SUCCESS_HTTP_HEADER_LENGTH, "d8:completei0e10:incompletei0e8:intervali600e5:peers0:e", reply_size = 55 );
     } else {
       torrent = add_peer_to_torrent( hash, &peer );
       if( !torrent ) {