From 57387588ed926d15d34edd62c0d108a97b5dac0f Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Thu, 20 Dec 2007 06:04:15 +0000 Subject: Enable revision watching from the internet --- ot_http.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ot_http.c') diff --git a/ot_http.c b/ot_http.c index 232911b..7b0e7ae 100644 --- a/ot_http.c +++ b/ot_http.c @@ -253,10 +253,12 @@ static ssize_t http_handle_stats( const int64 client_socket, char *data, char *d mode = TASK_STATS_TPB; else if( !byte_diff(data,4,"herr")) mode = TASK_STATS_HTTPERRORS; - else if( !byte_diff(data,9,"startstop")) + else if( !byte_diff(data,4,"startstop")) mode = TASK_STATS_STARTSTOP; - else if( !byte_diff(data,10,"toraddrem")) + else if( !byte_diff(data,4,"toraddrem")) mode = TASK_STATS_TORADDREM; + else if( !byte_diff(data,4,"vers")) + mode = TASK_STATS_VERSION; else HTTPERROR_400_PARAM; break; -- cgit v1.2.3