summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opentracker.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/opentracker.c b/opentracker.c
index 2579ab8..8c53452 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -271,9 +271,9 @@ e500:
271 { 271 {
272 time_t seconds_elapsed = time( NULL ) - ot_start_time; 272 time_t seconds_elapsed = time( NULL ) - ot_start_time;
273 reply_size = sprintf( static_reply + SUCCESS_HTTP_HEADER_LENGTH, 273 reply_size = sprintf( static_reply + SUCCESS_HTTP_HEADER_LENGTH,
274 "%d\n%d\nUp: %ld seconds (%ld hours)\nPretuned by german engineers, currently handling %li 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, seconds_elapsed, 275 ot_overall_connections, ot_overall_connections, (int)seconds_elapsed,
276 seconds_elapsed / 3600, ot_overall_connections / ( seconds_elapsed ? seconds_elapsed : 1 ) ); 276 (int)(seconds_elapsed / 3600), ot_overall_connections / ( seconds_elapsed ? seconds_elapsed : 1 ) );
277 } 277 }
278 break; 278 break;
279 default: /* neither *scrape nor announce */ 279 default: /* neither *scrape nor announce */