From bee364a6f33694b4d58f29f0de5ad630d392a031 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Wed, 5 Dec 2007 01:40:24 +0000 Subject: / can now be redirected to any URL --- ot_stats.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ot_stats.c') diff --git a/ot_stats.c b/ot_stats.c index 32dcc91..8adb2bf 100644 --- a/ot_stats.c +++ b/ot_stats.c @@ -265,9 +265,10 @@ static size_t stats_peers_mrtg( char * reply ) { } static size_t stats_httperrors_txt ( char * reply ) { - return sprintf( reply, "400 ... %llu\n400 PAR %llu\n400 COM %llu\n403 IP %llu\n404 INV %llu\n500 SRV %llu\n", + return sprintf( reply, "302 RED %llu\n400 ... %llu\n400 PAR %llu\n400 COM %llu\n403 IP %llu\n404 INV %llu\n500 SRV %llu\n", ot_failed_request_counts[0], ot_failed_request_counts[1], ot_failed_request_counts[2], - ot_failed_request_counts[3], ot_failed_request_counts[4], ot_failed_request_counts[5]); + ot_failed_request_counts[3], ot_failed_request_counts[4], ot_failed_request_counts[5], + ot_failed_request_counts[6] ); } size_t return_stats_for_tracker( char *reply, int mode, int format ) { -- cgit v1.2.3