diff options
author | denis <> | 2007-12-08 18:47:16 +0000 |
---|---|---|
committer | denis <> | 2007-12-08 18:47:16 +0000 |
commit | 19cc9ba882afa61df2aefbe8be062dc666142538 (patch) | |
tree | 9de8f6ac7d6e24ee322276039cc347c48be012b1 /ot_http.c | |
parent | bee364a6f33694b4d58f29f0de5ad630d392a031 (diff) |
add mrtgstyle stats for number of torrents
Diffstat (limited to 'ot_http.c')
-rw-r--r-- | ot_http.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -236,7 +236,9 @@ static ssize_t http_handle_stats( const int64 client_socket, char *data, char *d | |||
236 | else if( !byte_diff(data,4,"top5")) | 236 | else if( !byte_diff(data,4,"top5")) |
237 | mode = TASK_STATS_TOP5; | 237 | mode = TASK_STATS_TOP5; |
238 | else if( !byte_diff(data,4,"scrp")) | 238 | else if( !byte_diff(data,4,"scrp")) |
239 | mode = TASK_STATS_SCRAPE; | 239 | mode = TASK_STATS_SCRAPE; |
240 | else if( !byte_diff(data,4,"torr")) | ||
241 | mode = TASK_STATS_TORRENTS; | ||
240 | else if( !byte_diff(data,4,"fscr")) | 242 | else if( !byte_diff(data,4,"fscr")) |
241 | mode = TASK_STATS_FULLSCRAPE; | 243 | mode = TASK_STATS_FULLSCRAPE; |
242 | else if( !byte_diff(data,4,"tcp4")) | 244 | else if( !byte_diff(data,4,"tcp4")) |