mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
Avoid an instance of the bug warning in any_bridge_descriptors_known()
Part of 23524.
This commit is contained in:
parent
033691212a
commit
6e87c0b23e
@ -5379,7 +5379,7 @@ find_dl_schedule(const download_status_t *dls, const or_options_t *options)
|
|||||||
}
|
}
|
||||||
case DL_SCHED_BRIDGE:
|
case DL_SCHED_BRIDGE:
|
||||||
/* A bridge client downloading bridge descriptors */
|
/* A bridge client downloading bridge descriptors */
|
||||||
if (any_bridge_descriptors_known()) {
|
if (options->UseBridges && any_bridge_descriptors_known()) {
|
||||||
/* A bridge client with one or more running bridges */
|
/* A bridge client with one or more running bridges */
|
||||||
return options->TestingBridgeDownloadSchedule;
|
return options->TestingBridgeDownloadSchedule;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user