mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 06:35:28 +01:00
Remove an unneccessary FetchUselessDescriptors check in client_would_use_router
This commit is contained in:
parent
24e293c3c6
commit
e061cf4d1d
1 changed files with 2 additions and 2 deletions
|
@ -2407,9 +2407,9 @@ int
|
|||
client_would_use_router(const routerstatus_t *rs, time_t now,
|
||||
const or_options_t *options)
|
||||
{
|
||||
if (!rs->is_flagged_running && !options->FetchUselessDescriptors) {
|
||||
if (!rs->is_flagged_running) {
|
||||
/* If we had this router descriptor, we wouldn't even bother using it.
|
||||
* But, if we want to have a complete list, fetch it anyway. */
|
||||
* (Fetching and storing depends on by we_want_to_fetch_flavor().) */
|
||||
return 0;
|
||||
}
|
||||
if (rs->published_on + options->TestingEstimatedDescriptorPropagationTime
|
||||
|
|
Loading…
Add table
Reference in a new issue