diff options
author | teor <teor2345@gmail.com> | 2017-12-11 01:14:28 +1100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-12 19:17:25 -0500 |
commit | 6b5c70670b26b9560febf5dc70f814d5e515c0f8 (patch) | |
tree | 9a400adea1a6dc6a87b336e91bb1a617f49d8e2a /src/test/test_dir.c | |
parent | 6f3a862966cd09b9feae357ada0ad4d51b51c0ea (diff) | |
download | tor-6b5c70670b26b9560febf5dc70f814d5e515c0f8.tar.gz tor-6b5c70670b26b9560febf5dc70f814d5e515c0f8.zip |
Simplify some conditionals in circuit_get_open_circ_or_launch()
When entry_list_is_constrained() is true, guards_retry_optimistic()
always returns true.
When entry_list_is_constrained() is false,
options->UseBridges is always false,
therefore !options->UseBridges is always true,
therefore (!options->UseBridges || ...) is always true.
Cleanup after #24367.
Diffstat (limited to 'src/test/test_dir.c')
0 files changed, 0 insertions, 0 deletions