diff options
Diffstat (limited to 'ot_http.c')
-rw-r--r-- | ot_http.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -215,6 +215,8 @@ static ssize_t http_handle_stats( const int64 client_socket, char *data, char *d | |||
215 | mode = TASK_STATS_TOP10; | 215 | mode = TASK_STATS_TOP10; |
216 | else if( !byte_diff(data,5,"renew")) | 216 | else if( !byte_diff(data,5,"renew")) |
217 | mode = TASK_STATS_RENEW; | 217 | mode = TASK_STATS_RENEW; |
218 | else if( !byte_diff(data,5,"syncs")) | ||
219 | mode = TASK_STATS_SYNCS; | ||
218 | else | 220 | else |
219 | HTTPERROR_400_PARAM; | 221 | HTTPERROR_400_PARAM; |
220 | break; | 222 | break; |