diff options
author | teor <teor2345@gmail.com> | 2016-12-14 10:25:01 +1100 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2016-12-14 10:25:01 +1100 |
commit | e2537a5982b9003b14daee768cae33561f5f04bd (patch) | |
tree | b46f0bc392daf5787640b04f5f1ec11a079bb81c /src/or/nodelist.c | |
parent | f2445fc608fcb71cbff913dddcc4c2a38417535f (diff) | |
download | tor-e2537a5982b9003b14daee768cae33561f5f04bd.tar.gz tor-e2537a5982b9003b14daee768cae33561f5f04bd.zip |
Clarify a comment in compute_frac_paths_available
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r-- | src/or/nodelist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c index 3f2e111077..2bcedbfb0c 100644 --- a/src/or/nodelist.c +++ b/src/or/nodelist.c @@ -1728,9 +1728,9 @@ count_usable_descriptors(int *num_present, int *num_usable, * If **<b>status_out</b> is present, allocate a new string and print the * available percentages of guard, middle, and exit nodes to it, noting * whether there are exits in the consensus. - * If there are no guards in the consensus, - * we treat the exit fraction as 100%. - */ + * If there are no exits in the consensus, we treat the exit fraction as 100%, + * but set router_have_consensus_path() so that we can only build internal + * paths. */ static double compute_frac_paths_available(const networkstatus_t *consensus, const or_options_t *options, time_t now, |