fix size of 0 issue

dynamic-accesslists
erdgeist 16 years ago
parent eda3ae7f91
commit 76da780220

@ -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