summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
authordenis <>2008-10-22 21:28:00 +0000
committerdenis <>2008-10-22 21:28:00 +0000
commit41a1d2d025f2b402c6635c3328c2989f4a42b3a2 (patch)
tree2a69ba13a7bc042728070ba0fd59456a58e95c7f /ot_http.c
parent4b31dce3b385fdbfff08434201e6661867a27c6f (diff)
fixed the length
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 );