summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2017-05-10 17:57:35 -0400
committerRoger Dingledine <arma@torproject.org>2017-05-10 17:57:35 -0400
commit466e27feaebf0bb7a1c906b733a0da2328b21330 (patch)
treeaf30fb2f4f30d41ffae368748d839ce2f55643c1 /src/or/routerlist.c
parent2330a3713da668bf8c171490af8c414a46a74001 (diff)
downloadtor-466e27feaebf0bb7a1c906b733a0da2328b21330.tar.gz
tor-466e27feaebf0bb7a1c906b733a0da2328b21330.zip
simplify functions now that they don't use options param
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index cba0d9200d..a790265afb 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -5142,7 +5142,7 @@ update_consensus_router_descriptor_downloads(time_t now, int is_vote,
continue; /* We would throw it out immediately. */
}
if (!we_want_to_fetch_flavor(options, consensus->flavor) &&
- !client_would_use_router(rs, now, options)) {
+ !client_would_use_router(rs, now)) {
++n_wouldnt_use;
continue; /* We would never use it ourself. */
}