]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
add the scrapes to the valid requests (blue mrtg line)
authordenis <>
Thu, 1 Feb 2007 15:35:01 +0000 (15:35 +0000)
committerdenis <>
Thu, 1 Feb 2007 15:35:01 +0000 (15:35 +0000)
opentracker.c

index 06ba0f0a1e4bac5fd75f2d14e96683ceaf6578c5..6d187197dfe367c6a70c19b87203764123229e4b 100644 (file)
@@ -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;