diff options
author | denis <> | 2007-02-01 15:35:01 +0000 |
---|---|---|
committer | denis <> | 2007-02-01 15:35:01 +0000 |
commit | bbdc36c5185e78e48c8d2c72925ea15df6b9916f (patch) | |
tree | c91474c5fed5a415288bd4505834fbfd6949a353 | |
parent | f9c49e9759e279408b1928dc681cc9d6a91778e5 (diff) |
add the scrapes to the valid requests (blue mrtg line)
-rw-r--r-- | opentracker.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opentracker.c b/opentracker.c index 06ba0f0..6d18719 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -256,6 +256,7 @@ static void httpresponse( const int64 s, char *data ) { | |||
256 | /* Enough for http header + whole scrape string */ | 256 | /* Enough for http header + whole scrape string */ |
257 | if( !( reply_size = return_stats_for_tracker( SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, mode ) ) ) HTTPERROR_500; | 257 | if( !( reply_size = return_stats_for_tracker( SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, mode ) ) ) HTTPERROR_500; |
258 | 258 | ||
259 | ot_overall_successfulannounces++; | ||
259 | break; | 260 | break; |
260 | case 6: /* scrape ? */ | 261 | case 6: /* scrape ? */ |
261 | if( byte_diff( data, 6, "scrape") ) HTTPERROR_404; | 262 | if( byte_diff( data, 6, "scrape") ) HTTPERROR_404; |