diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-09-26 15:30:26 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-09-26 15:30:26 +0000 |
commit | ae33d3ead7cfef2bf0f9cd5dc5858dd365e573d9 (patch) | |
tree | 1d5dc807e7e9632f56f7632eca8104f21bb936ed /src/or/connection.c | |
parent | 02c71a7eb4ddbe3841a7b804a99b7b509e05a9d9 (diff) | |
download | tor-ae33d3ead7cfef2bf0f9cd5dc5858dd365e573d9.tar.gz tor-ae33d3ead7cfef2bf0f9cd5dc5858dd365e573d9.zip |
Apply rovv's fix for bug 824.
svn:r16975
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 963c64e5b6..b27e8d26b2 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -1827,7 +1827,7 @@ connection_bucket_refill(int seconds_elapsed, time_t now) tor_assert(seconds_elapsed >= 0); write_buckets_empty_last_second = - global_relayed_write_bucket == 0 || global_write_bucket == 0; + global_relayed_write_bucket <= 0 || global_write_bucket <= 0; /* refill the global buckets */ connection_bucket_refill_helper(&global_read_bucket, |