diff options
author | erdgeist <> | 2007-12-20 06:04:15 +0000 |
---|---|---|
committer | erdgeist <> | 2007-12-20 06:04:15 +0000 |
commit | 57387588ed926d15d34edd62c0d108a97b5dac0f (patch) | |
tree | 2126df088794cde68614f146c2cc272bd9c009ae /ot_http.c | |
parent | eadb0b843691c5399667fc4d6cc81999c048f0df (diff) |
Enable revision watching from the internet
Diffstat (limited to 'ot_http.c')
-rw-r--r-- | ot_http.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -253,10 +253,12 @@ static ssize_t http_handle_stats( const int64 client_socket, char *data, char *d | |||
253 | mode = TASK_STATS_TPB; | 253 | mode = TASK_STATS_TPB; |
254 | else if( !byte_diff(data,4,"herr")) | 254 | else if( !byte_diff(data,4,"herr")) |
255 | mode = TASK_STATS_HTTPERRORS; | 255 | mode = TASK_STATS_HTTPERRORS; |
256 | else if( !byte_diff(data,9,"startstop")) | 256 | else if( !byte_diff(data,4,"startstop")) |
257 | mode = TASK_STATS_STARTSTOP; | 257 | mode = TASK_STATS_STARTSTOP; |
258 | else if( !byte_diff(data,10,"toraddrem")) | 258 | else if( !byte_diff(data,4,"toraddrem")) |
259 | mode = TASK_STATS_TORADDREM; | 259 | mode = TASK_STATS_TORADDREM; |
260 | else if( !byte_diff(data,4,"vers")) | ||
261 | mode = TASK_STATS_VERSION; | ||
260 | else | 262 | else |
261 | HTTPERROR_400_PARAM; | 263 | HTTPERROR_400_PARAM; |
262 | break; | 264 | break; |