author | Florian Forster <octo@collectd.org> | |
Sun, 28 Jun 2015 13:00:49 +0000 (15:00 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 28 Jun 2015 13:00:49 +0000 (15:00 +0200) | ||
commit | 9461848421c468d9117bf6c57335b344db0a420e | |
tree | 0865bd05febdef83d28e35e0db1232c3e60442ba | tree | snapshot |
parent | 233ef890d210e7f231ebbc474894e90032ba49b1 | commit | diff |
src/daemon/common.c: Fix handling of counter_t in value_to_rate().
Also fixes an off-by-one error in counter_diff() and adds a unit test for
the function.
Also fixes an off-by-one error in counter_diff() and adds a unit test for
the function.
src/daemon/common.c | diff | blob | history | |
src/daemon/common_test.c | diff | blob | history | |
src/testing.h | diff | blob | history |