From: denis <> Date: Thu, 1 Feb 2007 15:35:01 +0000 (+0000) Subject: add the scrapes to the valid requests (blue mrtg line) X-Git-Tag: OPENTRACKER_WITH_BATCHSYNC~286 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbdc36c5185e78e48c8d2c72925ea15df6b9916f;p=thirdparty%2Fopentracker.git add the scrapes to the valid requests (blue mrtg line) --- 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 ) { /* Enough for http header + whole scrape string */ if( !( reply_size = return_stats_for_tracker( SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, mode ) ) ) HTTPERROR_500; + ot_overall_successfulannounces++; break; case 6: /* scrape ? */ if( byte_diff( data, 6, "scrape") ) HTTPERROR_404;