diff options
author | denis <> | 2007-10-03 22:57:35 +0000 |
---|---|---|
committer | denis <> | 2007-10-03 22:57:35 +0000 |
commit | 0d36a8754e75fbbbc55dd9d7bad311fce3b35fae (patch) | |
tree | 2c29d300125638e0baa5e5dd7c6953e8eceb5e57 | |
parent | 25e59aeca368ac7c7ea395ed27eb0633ba2fa02c (diff) |
fixed some stat output
-rw-r--r-- | opentracker.c | 2 |
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; |