diff options
author | teor <teor2345@gmail.com> | 2016-11-30 11:43:04 +1100 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2016-11-30 11:43:04 +1100 |
commit | e061cf4d1d7e9d8533cde936f0904d4f7b877746 (patch) | |
tree | fa50fbc0ebed9bd8c6be30b2d96b36586b2ce466 /src/or/networkstatus.c | |
parent | 24e293c3c6228c0038360471e9bbd4b4b4daed05 (diff) | |
download | tor-e061cf4d1d7e9d8533cde936f0904d4f7b877746.tar.gz tor-e061cf4d1d7e9d8533cde936f0904d4f7b877746.zip |
Remove an unneccessary FetchUselessDescriptors check in client_would_use_router
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 10157c6170..bfb36413ce 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -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 |