mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
phrase the threshold comparison in the way we've been
phrasing it. these are equivalent, right? svn:r6309
This commit is contained in:
parent
4b6ff2b084
commit
a324871603
@ -2874,7 +2874,7 @@ routerstatus_list_update_from_networkstatus(time_t now)
|
||||
n_trusted = smartlist_len(trusted_dir_servers);
|
||||
n_statuses = smartlist_len(networkstatus_list);
|
||||
|
||||
if (n_statuses < (n_trusted/2)+1) {
|
||||
if (n_statuses <= n_trusted/2) {
|
||||
/* Not enough statuses to adjust status. */
|
||||
log_notice(LD_DIR,
|
||||
"Not enough statuses to update router status list. (%d/%d)",
|
||||
|
Loading…
Reference in New Issue
Block a user