diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-11-06 09:49:06 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-11-06 09:49:06 -0500 |
commit | 3beb3dac2db492df1686abd1d2c047d5ee6cddcc (patch) | |
tree | 0eca48dcc007f2159184f2fc618ccc6075524143 /src/or/routerlist.c | |
parent | f755f9b9e67232d9d39682cbcdf4433ac738e17a (diff) | |
parent | c80293706fe16c052efef6653079163fc117029a (diff) | |
download | tor-3beb3dac2db492df1686abd1d2c047d5ee6cddcc.tar.gz tor-3beb3dac2db492df1686abd1d2c047d5ee6cddcc.zip |
Merge branch 'maint-0.3.2'
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index b59f318fc8..f04e2ca160 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -2706,7 +2706,7 @@ compute_weighted_bandwidths(const smartlist_t *sl, final_weight = weight*this_bw; } - bandwidths[node_sl_idx] = final_weight + 0.5; + bandwidths[node_sl_idx] = final_weight; } SMARTLIST_FOREACH_END(node); log_debug(LD_CIRC, "Generated weighted bandwidths for rule %s based " |