aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2013-01-30 22:41:10 -0400
committerNick Mathewson <nickm@torproject.org>2013-02-01 17:01:22 -0500
commitda5817772d6a10e1e842a6d8f72e6ba123bd29ec (patch)
tree8cb65ec449f5da810fc329acb725d152f800ddad /src/or/routerlist.c
parent6e4610de0226f4fa80b68f92c458a5ad42f21b5b (diff)
downloadtor-da5817772d6a10e1e842a6d8f72e6ba123bd29ec.tar.gz
tor-da5817772d6a10e1e842a6d8f72e6ba123bd29ec.zip
Rename and relocate the bw weight scale param getter.
It had nothing to do with circuit build times.
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 3034f91f02..8f19947600 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1734,7 +1734,7 @@ compute_weighted_bandwidths(const smartlist_t *sl,
return -1;
}
- weight_scale = circuit_build_times_get_bw_scale(NULL);
+ weight_scale = networkstatus_get_weight_scale_param(NULL);
if (rule == WEIGHT_FOR_GUARD) {
Wg = networkstatus_get_bw_weight(NULL, "Wgg", -1);