summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 66bdef2361..e49fd595c9 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -5338,7 +5338,7 @@ find_dl_schedule(const download_status_t *dls, const or_options_t *options)
}
case DL_SCHED_BRIDGE:
/* A bridge client downloading bridge descriptors */
- if (options->UseBridges && any_bridge_descriptors_known()) {
+ if (options->UseBridges && num_bridges_usable() > 0) {
/* A bridge client with one or more running bridges */
return options->TestingBridgeDownloadSchedule;
} else {