Introduce a new bridge_has_invalid_transport() function.
commit71fd30b75ad028dfce69563792547f06fdf9d3c2
authorNick Mathewson <nickm@torproject.org>
Thu, 21 Jan 2021 18:17:16 +0000 (21 13:17 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 21 Jan 2021 18:17:16 +0000 (21 13:17 -0500)
tree3d5baff456ecf5c353db21a08d502e9b61b0ae09
parent9390e2bf833ea1e7ef0354744b8497a5bed270d0
Introduce a new bridge_has_invalid_transport() function.

In addition to simplifying callsites a little, this function gives
correct behavior for bridges without a configured transport.
src/feature/client/bridges.c
src/feature/client/bridges.h
src/feature/client/entrynodes.c