summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2009-07-13 22:43:06 +0200
committerKarsten Loesing <karsten.loesing@gmx.net>2009-07-13 22:43:06 +0200
commit8f1a973669284e5662bd6f23bc96ecfafa57c554 (patch)
treef8145dc47dee99bc85814d3bac2056a8c134e51a /src/or/directory.c
parent707a44a7b0e12f9aef541dd69b356e2f123bcda8 (diff)
downloadtor-8f1a973669284e5662bd6f23bc96ecfafa57c554.tar.gz
tor-8f1a973669284e5662bd6f23bc96ecfafa57c554.zip
Two tweaks to exit-port statistics.
Add two functions for round_to_next_multiple_of() for uint32_t and uint64_t. Avoid division in every step of the loop over all ports.
Diffstat (limited to 'src/or/directory.c')
0 files changed, 0 insertions, 0 deletions