summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-12 11:32:14 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-12 11:32:14 -0500
commit0694263b7533ba000d3d95a2936115b21b806a5d (patch)
treee9282168460bc9bfd086a2feab585493fff38c8d /src/common/util.h
parent75fc4d551174b712a0468ae7a8be821b566ef1f9 (diff)
downloadtor-0694263b7533ba000d3d95a2936115b21b806a5d.tar.gz
tor-0694263b7533ba000d3d95a2936115b21b806a5d.zip
Make round_to_next_multiple_of always round upwards.
Yes, even if it has to return a non-multiple. This prevents us from ever having a bug where we try to use it for allocation, and under-allocate.
Diffstat (limited to 'src/common/util.h')
0 files changed, 0 insertions, 0 deletions