Code

stats plugin: Don't check the value of '(value_t).derive'.
authorFlorian Forster <octo@collectd.org>
Fri, 26 Jul 2013 13:18:43 +0000 (15:18 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 26 Jul 2013 13:18:43 +0000 (15:18 +0200)
commit73918b4759930c3420b8082342847e92a0cb44c5
treeae255e4e590b5052e32e769190a766717b6f08d8
parente51085e108c2ac63da82d042e22d26964dfe79cd
stats plugin: Don't check the value of '(value_t).derive'.

statsd_parse_value() will write to (value_t).gauge, so don't read from another
member of the union. This also fixes problems with counter values being zero,
for whatever that is supposed to be useful for.

Github: #358
src/statsd.c