they're uint64 and uint32, not int and int

svn:r2152
This commit is contained in:
Roger Dingledine 2004-08-06 08:40:55 +00:00
parent f32e34044f
commit 967a762fe1

View File

@ -963,7 +963,7 @@ static void dumpstats(int severity) {
(stats_n_data_cells_received*RELAY_PAYLOAD_SIZE)) );
if (stats_n_seconds_uptime)
log(severity,"Average bandwidth used: %d/%d = %d bytes/sec",
log(severity,"Average bandwidth used: %llu/%ld = %d bytes/sec",
stats_n_bytes_read, stats_n_seconds_uptime,
(int) (stats_n_bytes_read/stats_n_seconds_uptime));