Commit 1dc8636c authored by Per Cederqvist's avatar Per Cederqvist

Simplified the statistics code. Don't crash if the time moves

backwards, but log a nice error message including how much the time
moved.
parent 5e48b62e
2003-08-17 Per Cederqvist <ceder@ceder.dyndns.org>
Simplified the statistics code. Don't crash if the time moves
backwards, but log a nice error message including how much the
time moved.
* src/server/connections.c (set_time): Log how much the time moves
backwards when it moves backwards.
* src/server/stats.h (check_all_stats): Removed.
* src/server/stats.c: Don't attempt to keep a running average.
Rounding errors are far too common. Recompute it whenever it is
requested instead. This results in simpler code as well.
(dump_stats): Removed.
(update_one_stat): Check if the time moves backward, to avoid
triggering an assertion.
(is_nonzero): Removed.
(check_all_stats): Removed.
* src/server/ramkomd.c (main): Removed calls to check_all_stats().
Simplify handling of the sent_by misc-info. Allow the supervisor
of the author and sender to modify or remove a recipient (Bug 966,
Bug 181 and Bug 1089). Don't allow a text to be both a footnote
......
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