diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-01-31 15:03:47 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-01-31 15:03:47 -0500 |
commit | b8ff7407a71fc51193dedb8cf952805c0fb3e774 (patch) | |
tree | 91c8ff6c31830554dbd2515b26997e01cfffff0f /src/or/bridges.c | |
parent | 5b55e15707fd49079b9c127b339976c4f446e131 (diff) | |
download | tor-b8ff7407a71fc51193dedb8cf952805c0fb3e774.tar.gz tor-b8ff7407a71fc51193dedb8cf952805c0fb3e774.zip |
remove the max_failures argument from download_status_is_ready.
Diffstat (limited to 'src/or/bridges.c')
-rw-r--r-- | src/or/bridges.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/bridges.c b/src/or/bridges.c index 3d9af21fae..6cd2084735 100644 --- a/src/or/bridges.c +++ b/src/or/bridges.c @@ -636,8 +636,7 @@ fetch_bridge_descriptors(const or_options_t *options, time_t now) SMARTLIST_FOREACH_BEGIN(bridge_list, bridge_info_t *, bridge) { /* This resets the download status on first use */ - if (!download_status_is_ready(&bridge->fetch_status, now, - IMPOSSIBLE_TO_DOWNLOAD)) + if (!download_status_is_ready(&bridge->fetch_status, now)) continue; /* don't bother, no need to retry yet */ if (routerset_contains_bridge(options->ExcludeNodes, bridge)) { download_status_mark_impossible(&bridge->fetch_status); |