summaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-08-09 13:47:42 -0400
committerNick Mathewson <nickm@torproject.org>2012-08-09 14:15:58 -0400
commit07df4dd52d3ab2eea2e8a8fc3222a5d297d077de (patch)
treeb11ca0fc673180ab78d37d699f6e1e3790735d7d /src/common/util.c
parent9bfb274abb9f9e5d445a75f0b67b433be823a730 (diff)
downloadtor-07df4dd52d3ab2eea2e8a8fc3222a5d297d077de.tar.gz
tor-07df4dd52d3ab2eea2e8a8fc3222a5d297d077de.zip
Refactor the core of choosing by weights into a function
This eliminates duplicated code, and lets us test a hairy piece of functionality.
Diffstat (limited to 'src/common/util.c')
0 files changed, 0 insertions, 0 deletions