src/daemon/plugin.c: Register plugin_update_internal_statistics() as a read callback.
authorFlorian Forster <octo@collectd.org>
Fri, 23 Dec 2016 08:39:08 +0000 (09:39 +0100)
committerFlorian Forster <octo@collectd.org>
Fri, 23 Dec 2016 08:39:11 +0000 (09:39 +0100)
commitce87e25ff379de5ec05a3001ad229b2141b325b7
tree948d6cc55d74c62c40ec0524b9e7282bf6e7d0f9
parentbe6aa28bfc12c0d35de592a56a3af84c7d8fc9a9
src/daemon/plugin.c: Register plugin_update_internal_statistics() as a read callback.

The previous special-snowflake-solution had issues since it didn't set a plugin
context up.

Fixes: #2108
src/daemon/plugin.c