summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
authordenis <>2007-12-08 18:47:16 +0000
committerdenis <>2007-12-08 18:47:16 +0000
commit19cc9ba882afa61df2aefbe8be062dc666142538 (patch)
tree9de8f6ac7d6e24ee322276039cc347c48be012b1 /ot_http.c
parentbee364a6f33694b4d58f29f0de5ad630d392a031 (diff)
add mrtgstyle stats for number of torrents
Diffstat (limited to 'ot_http.c')
-rw-r--r--ot_http.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ot_http.c b/ot_http.c
index cb517bb..faf1aae 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -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"))