aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-12-31 08:09:26 +0000
committerRoger Dingledine <arma@torproject.org>2005-12-31 08:09:26 +0000
commite9e7dc176ce5cfd41c62d1a18bb55e11d4c98fc0 (patch)
treec1e39f329b3e9038b20d45a14a125ffef27d9392 /src/or/relay.c
parentad82fdab5e84f7e2a5ae995b51fd38a4aa8c2409 (diff)
downloadtor-e9e7dc176ce5cfd41c62d1a18bb55e11d4c98fc0.tar.gz
tor-e9e7dc176ce5cfd41c62d1a18bb55e11d4c98fc0.zip
Some tor servers process billions of cells in a matter of days.
These statistics need to be uint64_t's. svn:r5686
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 4cd4055a64..f923ae59a3 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -37,11 +37,11 @@ circuit_consider_stop_edge_reading(circuit_t *circ, crypt_path_t *layer_hint);
/** Stats: how many relay cells have originated at this hop, or have
* been relayed onward (not recognized at this hop)?
*/
-unsigned long stats_n_relay_cells_relayed = 0;
+uint64_t stats_n_relay_cells_relayed = 0;
/** Stats: how many relay cells have been delivered to streams at this
* hop?
*/
-unsigned long stats_n_relay_cells_delivered = 0;
+uint64_t stats_n_relay_cells_delivered = 0;
/** Update digest from the payload of cell. Assign integrity part to
* cell.