format_graphite: Error if call to uc_get_rate fails to return a value.
authorIain Buclaw <iain.buclaw@sociomantic.com>
Fri, 19 May 2017 10:55:37 +0000 (12:55 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 19 May 2017 13:13:31 +0000 (15:13 +0200)
commit58ef5973f118ceff1e09d59414c438242091adab
tree9f71f80ee85926511474ddb980d4793c148c4738
parent5717cb3228bc28e73b685ca8c6ac5e21ca74027a
format_graphite: Error if call to uc_get_rate fails to return a value.

This prevents a wrong value being sent to graphite for DERIVE types.

See #2209

Signed-off-by: Florian Forster <octo@collectd.org>
src/utils_format_graphite.c