[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] they"re uint64 and uint32, not int and int
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
main.c
Log Message:
they're uint64 and uint32, not int and int
Index: main.c
===================================================================
RCS file: /home/or/cvsroot/src/or/main.c,v
retrieving revision 1.310
retrieving revision 1.311
diff -u -d -r1.310 -r1.311
--- main.c 6 Aug 2004 08:37:13 -0000 1.310
+++ main.c 6 Aug 2004 08:40:55 -0000 1.311
@@ -963,7 +963,7 @@
(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));