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/microdesc.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/microdesc.c')
-rw-r--r-- | src/or/microdesc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/microdesc.c b/src/or/microdesc.c index d8a4660af1..b4a934e095 100644 --- a/src/or/microdesc.c +++ b/src/or/microdesc.c @@ -920,8 +920,7 @@ microdesc_list_missing_digest256(networkstatus_t *ns, microdesc_cache_t *cache, if (microdesc_cache_lookup_by_digest256(cache, rs->descriptor_digest)) continue; if (downloadable_only && - !download_status_is_ready(&rs->dl_status, now, - get_options()->TestingMicrodescMaxDownloadTries)) + !download_status_is_ready(&rs->dl_status, now)) continue; if (skip && digest256map_get(skip, (const uint8_t*)rs->descriptor_digest)) continue; |