diff options
-rw-r--r-- | opentracker.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/opentracker.c b/opentracker.c index 64dbe9f..dfaafca 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -273,7 +273,7 @@ e500: | |||
273 | reply_size = sprintf( static_reply + SUCCESS_HTTP_HEADER_LENGTH, | 273 | reply_size = sprintf( static_reply + SUCCESS_HTTP_HEADER_LENGTH, |
274 | "%i\n%i\nUp: %i seconds (%i hours)\nPretuned by german engineers, currently handling %i connections per second.", | 274 | "%i\n%i\nUp: %i seconds (%i hours)\nPretuned by german engineers, currently handling %i connections per second.", |
275 | ot_overall_connections, ot_overall_connections, (int)seconds_elapsed, | 275 | ot_overall_connections, ot_overall_connections, (int)seconds_elapsed, |
276 | (int)(seconds_elapsed / 3600), ot_overall_connections / ( seconds_elapsed ? seconds_elapsed : 1 ) ); | 276 | (int)(seconds_elapsed / 3600), (int)ot_overall_connections / ( (int)seconds_elapsed ? (int)seconds_elapsed : 1 ) ); |
277 | } | 277 | } |
278 | break; | 278 | break; |
279 | default: /* neither *scrape nor announce */ | 279 | default: /* neither *scrape nor announce */ |
@@ -399,7 +399,6 @@ allparsed: | |||
399 | 399 | ||
400 | io_wantread( s ); | 400 | io_wantread( s ); |
401 | taia_now( &next_timeout_check ); | 401 | taia_now( &next_timeout_check ); |
402 | taia_addsec( &next_timeout_check, &next_timeout_check, OT_CLIENT_TIMEOUT_CHECKINTERVAL ); | ||
403 | 402 | ||
404 | for (;;) { | 403 | for (;;) { |
405 | int64 i; | 404 | int64 i; |