summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index 5bd27b0..53a2517 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -292,7 +292,7 @@ e500:
292 { 292 {
293 unsigned long seconds_elapsed = time( NULL ) - ot_start_time; 293 unsigned long seconds_elapsed = time( NULL ) - ot_start_time;
294 reply_size = sprintf( reply, "%d\n%d\nUp: %ld seconds (%ld hours)\nPretuned by german engineers, currently handling %li connections per second.", 294 reply_size = sprintf( reply, "%d\n%d\nUp: %ld seconds (%ld hours)\nPretuned by german engineers, currently handling %li connections per second.",
295 ot_overall_connections, ot_overall_connections, seconds_elapsed, seconds_elapsed / 3600, ot_overall_connections / seconds_elapsed ? seconds_elapsed : 1 ); 295 ot_overall_connections, ot_overall_connections, seconds_elapsed, seconds_elapsed / 3600, ot_overall_connections / ( seconds_elapsed ? seconds_elapsed : 1 ) );
296 } 296 }
297 break; 297 break;
298 default: /* neither *scrape nor announce */ 298 default: /* neither *scrape nor announce */