diff options
Diffstat (limited to 'ot_http.c')
-rw-r--r-- | ot_http.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -265,6 +265,8 @@ static ssize_t http_handle_stats( const int64 client_socket, char *data, char *d | |||
265 | case 5: | 265 | case 5: |
266 | if( !byte_diff(data,5,"top10")) | 266 | if( !byte_diff(data,5,"top10")) |
267 | mode = TASK_STATS_TOP10; | 267 | mode = TASK_STATS_TOP10; |
268 | if( !byte_diff(data,5,"renew")) | ||
269 | mode = TASK_STATS_RENEW; | ||
268 | else | 270 | else |
269 | HTTPERROR_400_PARAM; | 271 | HTTPERROR_400_PARAM; |
270 | break; | 272 | break; |