mirror of
git://erdgeist.org/opentracker
synced 2025-01-27 23:26:27 +00:00
fix size of 0 issue
This commit is contained in:
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…
x
Reference in New Issue
Block a user