diff options
author | Roger Dingledine <arma@torproject.org> | 2008-02-20 02:17:41 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-02-20 02:17:41 +0000 |
commit | 1c8bd320beed5379ab3b755d41cb2fd051858a67 (patch) | |
tree | 1113c8a64b15cd4dc16821ce7515443eb69423a0 /src/or/connection.c | |
parent | f2ed011813014a45953bef8da04b24ccfc7d9e29 (diff) | |
download | tor-1c8bd320beed5379ab3b755d41cb2fd051858a67.tar.gz tor-1c8bd320beed5379ab3b755d41cb2fd051858a67.zip |
pass bucket sizes num_read and num_written around as size_ts
rather than ints
svn:r13610
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 5f80872c0f..ef352f958e 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -1571,7 +1571,7 @@ global_write_bucket_low(connection_t *conn, size_t attempt, int priority) * Decrement buckets appropriately. */ static void connection_buckets_decrement(connection_t *conn, time_t now, - int num_read, int num_written) + size_t num_read, size_t num_written) { if (!connection_is_rate_limited(conn)) return; /* local IPs are free */ |