Commit 34023f3a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Don't report rounded stats too often.

parent 1b884634
......@@ -4,6 +4,9 @@
* src/server/stats.c (check_one_stat): Fixed the logic that
determines if we need to fix a rounding error. Report the values
using %g instead of %f.
(is_nonzero): New static function.
(check_one_stat): Don't report very small rounding errors when the
correct value is 0.
Port to Solaris 2.4, which lacks snprintf.
* Check for snprintf.
Supports Markdown
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