mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Merge branch 'maint-0.3.1'
This commit is contained in:
commit
fecad31f10
@ -2385,7 +2385,7 @@ entry_guards_upgrade_waiting_circuits(guard_selection_t *gs,
|
|||||||
|
|
||||||
SMARTLIST_FOREACH_BEGIN(all_circuits, origin_circuit_t *, circ) {
|
SMARTLIST_FOREACH_BEGIN(all_circuits, origin_circuit_t *, circ) {
|
||||||
circuit_guard_state_t *state = origin_circuit_get_guard_state(circ);
|
circuit_guard_state_t *state = origin_circuit_get_guard_state(circ);
|
||||||
if BUG((state == NULL))
|
if (BUG(state == NULL))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (state->state == GUARD_CIRC_STATE_WAITING_FOR_BETTER_GUARD) {
|
if (state->state == GUARD_CIRC_STATE_WAITING_FOR_BETTER_GUARD) {
|
||||||
|
Loading…
Reference in New Issue
Block a user