diff options
author | Roger Dingledine <arma@torproject.org> | 2009-10-10 14:52:41 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2009-10-10 14:52:41 -0400 |
commit | 1c62b9d5fa21a802f26579379bd7b5d0fc17af9c (patch) | |
tree | 1a04c591870774b84214236fae78ba5c6450078a /src/or/connection.c | |
parent | 746a19e84d1abf2804f5b4fd8bc3353b162f854c (diff) | |
download | tor-1c62b9d5fa21a802f26579379bd7b5d0fc17af9c.tar.gz tor-1c62b9d5fa21a802f26579379bd7b5d0fc17af9c.zip |
fix a bug where we were decrementing the wrong bucket
i think this doesn't actually affect anything, since linked
conns usually don't impact buckets
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 18464d2090..ca71373f00 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -2352,7 +2352,7 @@ loop_again: if (n_read) { /* Probably a no-op, but hey. */ - connection_buckets_decrement(linked, approx_time(), 0, n_read); + connection_buckets_decrement(linked, approx_time(), n_read, 0); if (connection_flushed_some(linked) < 0) connection_mark_for_close(linked); |