tor/src
Nick Mathewson 01e984870a Remove an erroneous 0.5 in compute_weighted_bandwidths()
Back in 0.2.4.3-alpha (e106812a77), when we switched from using
double to using uint64 for selecting by bandwidth, I got the math
wrong: I should have used llround(x), or (uint64_t)(x+0.5), but
instead I wrote llround(x+0.5).  That means we would always round
up, rather than rounding to the closest integer

Fixes bug 23318; bugfix on 0.2.4.3-alpha.
2017-09-22 15:29:15 -04:00
..
common One more implicit fallthrough warning to fix on GCC 7 2017-09-12 09:22:50 -04:00
config Merge branch 'maint-0.2.5' into maint-0.2.8 2017-09-07 15:18:00 -04:00
ext Fix GCC 7 -Wimplicit-fallthrough warnings 2017-09-11 17:47:04 -04:00
or Remove an erroneous 0.5 in compute_weighted_bandwidths() 2017-09-22 15:29:15 -04:00
test Avoid sscanf() warnings from openbsd in the unit tests 2017-09-12 16:01:12 -04:00
tools Do not truncate too long hostnames 2017-02-07 09:27:00 -05:00
trunnel Re-run trunnel. 2016-07-28 10:52:43 -04:00
win32 bump to 0.2.9.12-dev 2017-09-18 14:39:46 -04:00
include.am Use trunnel for crypto_pwbox encoding/decoding. 2014-09-25 11:58:14 -04:00