1
0
mirror of git://erdgeist.org/opentracker synced 2025-02-04 19:16:23 +00:00

Add stats about when peers renew their announces.

This commit is contained in:
erdgeist 2008-11-03 01:52:02 +00:00
parent 3f5468672b
commit 9c0b23e28d

View File

@ -265,6 +265,8 @@ static ssize_t http_handle_stats( const int64 client_socket, char *data, char *d
case 5:
if( !byte_diff(data,5,"top10"))
mode = TASK_STATS_TOP10;
if( !byte_diff(data,5,"renew"))
mode = TASK_STATS_RENEW;
else
HTTPERROR_400_PARAM;
break;