diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2012-12-09 20:56:48 -0800 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2012-12-09 20:56:48 -0800 |
commit | b75880d7b3d02f5c60bf2e215c6e84da4f3e1938 (patch) | |
tree | 0d814f884b617497f0a80539520f6d0acfd5b56d /src/or/entrynodes.h | |
parent | 2dbb62f1b571ea57af111f1f660a5149d160c4fb (diff) | |
download | tor-b75880d7b3d02f5c60bf2e215c6e84da4f3e1938.tar.gz tor-b75880d7b3d02f5c60bf2e215c6e84da4f3e1938.zip |
Fix a rather serious use-count state bug.
We need to use the success count or the use count depending on the consensus
parameter.
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r-- | src/or/entrynodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h index de8c60c33d..b9d0e555f1 100644 --- a/src/or/entrynodes.h +++ b/src/or/entrynodes.h @@ -112,6 +112,7 @@ int find_transport_by_bridge_addrport(const tor_addr_t *addr, uint16_t port, int validate_pluggable_transports_config(void); double pathbias_get_closed_count(entry_guard_t *gaurd); +double pathbias_get_success_count(entry_guard_t *guard); #endif |