[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Avoid an instance of the bug warning in any_bridge_descriptors_known()
commit 6e87c0b23e622e95d8348650f7bdf2af75ab824e
Author: teor <teor2345@xxxxxxxxx>
Date: Fri Sep 15 14:17:41 2017 +1000
Avoid an instance of the bug warning in any_bridge_descriptors_known()
Part of 23524.
---
src/or/directory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/directory.c b/src/or/directory.c
index 01d9fc617..630524db6 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -5379,7 +5379,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 (any_bridge_descriptors_known()) {
+ if (options->UseBridges && any_bridge_descriptors_known()) {
/* A bridge client with one or more running bridges */
return options->TestingBridgeDownloadSchedule;
} else {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits