Apply ahf's ceil_div.cocci patch.

This commit is contained in:
Nick Mathewson 2017-08-24 15:33:27 -04:00
parent e884248118
commit 067a4422fe

View File

@ -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);