From 41a1d2d025f2b402c6635c3328c2989f4a42b3a2 Mon Sep 17 00:00:00 2001 From: denis <> Date: Wed, 22 Oct 2008 21:28:00 +0000 Subject: fixed the length --- ot_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ot_http.c') 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 ) { /* Scanned whole query string */ 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 ) len = remove_peer_from_torrent( hash, &peer, SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, FLAG_TCP ); -- cgit v1.2.3