summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_http.c')
-rw-r--r--ot_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_http.c b/ot_http.c
index 68bf58a..5b84b7f 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -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 );