Commit 3af3df0f authored by Per Cederqvist's avatar Per Cederqvist
Browse files

The statistics was broken on platforms where sizeof(int) != sizeof(long).

parent 86cfebc3
2003-07-30 Per Cederqvist <ceder@lysator.liu.se>
The statistics was broken on platforms where sizeof(int) !=
sizeof(long).
* src/server/stats.c (dump_stats): Updated to cope with the
introduction of enum value_type.
(ind): Changed sign of the "offset" argument, since it is a bad
idea to store a negative number in an "unsigned int". All callers
updated.
(update_one_stat): Fixed the call to check_stat when DEBUG_STATS
is true.
(check_one_stat): If a rounding error occurs, log which enum
value_type that is responsible.
2003-07-28 Per Cederqvist <ceder@ceder.dyndns.org>
Fixed printf argument type.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment