summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_http.c')
-rw-r--r--ot_http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ot_http.c b/ot_http.c
index 09e93dd..e0062ce 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -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;