diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-08-24 15:33:27 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-24 15:33:27 -0400 |
commit | 067a4422fec371e1ef3a1b8d13d5da9a1e90c70b (patch) | |
tree | 6711d5f204d626be692569dd56941bc88a0a75c7 /src/or/rephist.c | |
parent | e884248118e946c56fb8b70c2d5189946f3af95a (diff) | |
download | tor-067a4422fec371e1ef3a1b8d13d5da9a1e90c70b.tar.gz tor-067a4422fec371e1ef3a1b8d13d5da9a1e90c70b.zip |
Apply ahf's ceil_div.cocci patch.
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index e65b93fa76..ae45c5023a 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -2552,7 +2552,7 @@ rep_hist_format_buffer_stats(time_t now) processed_cells_string, queued_cells_string, time_in_queue_string, - (number_of_circuits + SHARES - 1) / SHARES); + CEIL_DIV(number_of_circuits, SHARES)); tor_free(processed_cells_string); tor_free(queued_cells_string); tor_free(time_in_queue_string); |