diff options
author | erdgeist <> | 2007-12-05 01:40:24 +0000 |
---|---|---|
committer | erdgeist <> | 2007-12-05 01:40:24 +0000 |
commit | bee364a6f33694b4d58f29f0de5ad630d392a031 (patch) | |
tree | fb5c9355bb0e7bbccc3b8288dfadfdbd275e7bc0 /ot_stats.c | |
parent | 31d876d53dfdafc4370b7c23febbb6978b271a77 (diff) |
/ can now be redirected to any URL
Diffstat (limited to 'ot_stats.c')
-rw-r--r-- | ot_stats.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -265,9 +265,10 @@ static size_t stats_peers_mrtg( char * reply ) { | |||
265 | } | 265 | } |
266 | 266 | ||
267 | static size_t stats_httperrors_txt ( char * reply ) { | 267 | static size_t stats_httperrors_txt ( char * reply ) { |
268 | return sprintf( reply, "400 ... %llu\n400 PAR %llu\n400 COM %llu\n403 IP %llu\n404 INV %llu\n500 SRV %llu\n", | 268 | return sprintf( reply, "302 RED %llu\n400 ... %llu\n400 PAR %llu\n400 COM %llu\n403 IP %llu\n404 INV %llu\n500 SRV %llu\n", |
269 | ot_failed_request_counts[0], ot_failed_request_counts[1], ot_failed_request_counts[2], | 269 | ot_failed_request_counts[0], ot_failed_request_counts[1], ot_failed_request_counts[2], |
270 | ot_failed_request_counts[3], ot_failed_request_counts[4], ot_failed_request_counts[5]); | 270 | ot_failed_request_counts[3], ot_failed_request_counts[4], ot_failed_request_counts[5], |
271 | ot_failed_request_counts[6] ); | ||
271 | } | 272 | } |
272 | 273 | ||
273 | size_t return_stats_for_tracker( char *reply, int mode, int format ) { | 274 | size_t return_stats_for_tracker( char *reply, int mode, int format ) { |