summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opentracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index 02aeb4a..67e9f9a 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -473,7 +473,7 @@ ANNOUNCE_WORKAROUND:
473 t = time( NULL ) - ot_start_time; 473 t = time( NULL ) - ot_start_time;
474 reply_size = sprintf( static_outbuf + SUCCESS_HTTP_HEADER_LENGTH, 474 reply_size = sprintf( static_outbuf + SUCCESS_HTTP_HEADER_LENGTH,
475 "%llu\n%llu\n%i seconds (%i hours)\nopentracker - Pretuned by german engineers, currently handling %llu connections per second.", 475 "%llu\n%llu\n%i seconds (%i hours)\nopentracker - Pretuned by german engineers, currently handling %llu connections per second.",
476 ot_overall_tcp_connections+ot_overall_udp_connections, ot_overall_tcp_successfulannounces+ot_overall_udp_successfulannounces, (int)t, (int)(t / 3600), ot_overall_tcp_connections / ( (unsigned int)t ? (unsigned int)t : 1 ) ); 476 ot_overall_tcp_connections+ot_overall_udp_connections, ot_overall_tcp_successfulannounces+ot_overall_udp_successfulannounces, (int)t, (int)(t / 3600), (ot_overall_tcp_connections+ot_overall_udp_connections) / ( (unsigned int)t ? (unsigned int)t : 1 ) );
477 break; 477 break;
478 case 12: 478 case 12:
479 if( byte_diff( data, 12, "announce.php" ) ) HTTPERROR_404; 479 if( byte_diff( data, 12, "announce.php" ) ) HTTPERROR_404;