summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordenis <>2007-02-01 15:35:01 +0000
committerdenis <>2007-02-01 15:35:01 +0000
commitbbdc36c5185e78e48c8d2c72925ea15df6b9916f (patch)
treec91474c5fed5a415288bd4505834fbfd6949a353
parentf9c49e9759e279408b1928dc681cc9d6a91778e5 (diff)
add the scrapes to the valid requests (blue mrtg line)
-rw-r--r--opentracker.c1
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;