mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Fix OOS comparator fix
This commit is contained in:
parent
9e1cb3660b
commit
32fbc9738a
@ -4510,8 +4510,8 @@ oos_victim_comparator_for_orconns(or_connection_t *a, or_connection_t *b)
|
||||
a_circs = connection_or_get_num_circuits(a);
|
||||
b_circs = connection_or_get_num_circuits(b);
|
||||
|
||||
if (a_circs < b_circs) return -1;
|
||||
else if (a_circs > b_circs) return 1;
|
||||
if (a_circs < b_circs) return 1;
|
||||
else if (a_circs > b_circs) return -1;
|
||||
else return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user