Browse Source

fix size of 0 issue

dynamic-accesslists
erdgeist 16 years ago
parent
commit
76da780220
  1. 2
      ot_stats.c

2
ot_stats.c

@ -472,7 +472,7 @@ static size_t stats_return_sync_mrtg( char * reply )
return sprintf( reply, return sprintf( reply,
"%llu\n%llu\n%i seconds (%i hours)\nopentracker connections, %lu conns/s :: %lu success/s.", "%llu\n%llu\n%i seconds (%i hours)\nopentracker connections, %lu conns/s :: %lu success/s.",
ot_overall_sync_count, ot_overall_sync_count,
0, 0LL,
(int)t, (int)t,
(int)(t / 3600), (int)(t / 3600),
events_per_time( ot_overall_tcp_connections+ot_overall_udp_connections, t ), events_per_time( ot_overall_tcp_connections+ot_overall_udp_connections, t ),

Loading…
Cancel
Save