mirror of
git://erdgeist.org/opentracker
synced 2025-02-17 06:31:30 +08:00
fixed the length
This commit is contained in:
parent
4b31dce3b3
commit
41a1d2d025
@ -482,7 +482,7 @@ static ssize_t http_handle_announce( const int64 client_socket, char *data ) {
|
|||||||
|
|
||||||
/* Scanned whole query string */
|
/* Scanned whole query string */
|
||||||
if( !hash )
|
if( !hash )
|
||||||
return sprintf( static_outbuf + SUCCESS_HTTP_HEADER_LENGTH, "d14:failure reason81:Your client forgot to send your torrent's info_hash. Please upgrade your client.e" );
|
return sprintf( static_outbuf + SUCCESS_HTTP_HEADER_LENGTH, "d14:failure reason80:Your client forgot to send your torrent's info_hash. Please upgrade your client.e" );
|
||||||
|
|
||||||
if( OT_FLAG( &peer ) & PEER_FLAG_STOPPED )
|
if( OT_FLAG( &peer ) & PEER_FLAG_STOPPED )
|
||||||
len = remove_peer_from_torrent( hash, &peer, SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, FLAG_TCP );
|
len = remove_peer_from_torrent( hash, &peer, SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, FLAG_TCP );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user