mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
compile again on win32 (i think)
svn:r2222
This commit is contained in:
parent
1e1a2be430
commit
dda2e44222
@ -963,9 +963,14 @@ static void dumpstats(int severity) {
|
|||||||
(stats_n_data_cells_received*RELAY_PAYLOAD_SIZE)) );
|
(stats_n_data_cells_received*RELAY_PAYLOAD_SIZE)) );
|
||||||
|
|
||||||
if (stats_n_seconds_uptime)
|
if (stats_n_seconds_uptime)
|
||||||
log(severity,"Average bandwidth used: %llu/%ld = %d bytes/sec",
|
log(severity,
|
||||||
(unsigned long long) stats_n_bytes_read, stats_n_seconds_uptime,
|
#ifdef MS_WINDOWS
|
||||||
(int) (stats_n_bytes_read/stats_n_seconds_uptime));
|
"Average bandwidth used: %I64u/%ld = %d bytes/sec",
|
||||||
|
#else
|
||||||
|
"Average bandwidth used: %llu/%ld = %d bytes/sec",
|
||||||
|
#endif
|
||||||
|
stats_n_bytes_read, stats_n_seconds_uptime,
|
||||||
|
(int) (stats_n_bytes_read/stats_n_seconds_uptime));
|
||||||
|
|
||||||
rep_hist_dump_stats(now,severity);
|
rep_hist_dump_stats(now,severity);
|
||||||
rend_service_dump_stats(severity);
|
rend_service_dump_stats(severity);
|
||||||
|
Loading…
Reference in New Issue
Block a user