src/plugin.c: Some fixes for write limits.
authorFlorian Forster <octo@collectd.org>
Sat, 13 Jul 2013 09:19:54 +0000 (11:19 +0200)
committerFlorian Forster <octo@collectd.org>
Sat, 13 Jul 2013 09:19:54 +0000 (11:19 +0200)
commitd189964960c406ddaff60e47b4ae01fcc38bec45
tree5cd8533489345c7d1b2a1d65e28a2392529a7e7f
parent17f4b4ccf2c32190566f592f1dfb953ecbd9b779
src/plugin.c: Some fixes for write limits.

* Log an error once per second.
* Coding style fixes.
* Separate function for calculating drop probability.
src/plugin.c