mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
Remove a now-empty if body; invert the sense of its condition
This commit is contained in:
parent
c4de828923
commit
f3ae628517
@ -1967,9 +1967,7 @@ dirserv_compute_performance_thresholds(routerlist_t *rl,
|
|||||||
mtbfs[n_active] = rep_hist_get_stability(id, now);
|
mtbfs[n_active] = rep_hist_get_stability(id, now);
|
||||||
tks [n_active] = rep_hist_get_weighted_time_known(id, now);
|
tks [n_active] = rep_hist_get_weighted_time_known(id, now);
|
||||||
bandwidths_kb[n_active] = bw_kb = dirserv_get_credible_bandwidth_kb(ri);
|
bandwidths_kb[n_active] = bw_kb = dirserv_get_credible_bandwidth_kb(ri);
|
||||||
if (node->is_exit && !node->is_bad_exit) {
|
if (!node->is_exit || node->is_bad_exit) {
|
||||||
;
|
|
||||||
} else {
|
|
||||||
bandwidths_excluding_exits_kb[n_active_nonexit] = bw_kb;
|
bandwidths_excluding_exits_kb[n_active_nonexit] = bw_kb;
|
||||||
++n_active_nonexit;
|
++n_active_nonexit;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user