diff options
author | denis <> | 2008-10-22 21:28:00 +0000 |
---|---|---|
committer | denis <> | 2008-10-22 21:28:00 +0000 |
commit | 41a1d2d025f2b402c6635c3328c2989f4a42b3a2 (patch) | |
tree | 2a69ba13a7bc042728070ba0fd59456a58e95c7f | |
parent | 4b31dce3b385fdbfff08434201e6661867a27c6f (diff) |
fixed the length
-rw-r--r-- | ot_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -482,7 +482,7 @@ static ssize_t http_handle_announce( const int64 client_socket, char *data ) { | |||
482 | 482 | ||
483 | /* Scanned whole query string */ | 483 | /* Scanned whole query string */ |
484 | if( !hash ) | 484 | if( !hash ) |
485 | 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" ); | 485 | 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" ); |
486 | 486 | ||
487 | if( OT_FLAG( &peer ) & PEER_FLAG_STOPPED ) | 487 | if( OT_FLAG( &peer ) & PEER_FLAG_STOPPED ) |
488 | len = remove_peer_from_torrent( hash, &peer, SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, FLAG_TCP ); | 488 | len = remove_peer_from_torrent( hash, &peer, SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, FLAG_TCP ); |