write_graphite plugin: avoid flooding the log with the protocol error check
authorJ. Javier Maestro <jjmaestro@ieee.org>
Sun, 16 Jun 2013 17:37:32 +0000 (19:37 +0200)
committerJ. Javier Maestro <jjmaestro@ieee.org>
Sun, 16 Jun 2013 17:37:32 +0000 (19:37 +0200)
commiteab40ae770c969d6d6871f9a1356115d93e1f3d6
tree38ab4173361ba2ec40bf1bec1d23c12c6bdbead7
parentdbf45dbf4eab1d058c49fc3bfb8be3e2cba98234
write_graphite plugin: avoid flooding the log with the protocol error check

Moving the protocol error checking from `wg_callback_init` to `wg_config_node`.
This avoids flooding the log, as suggested by Florian Forster (@octo).
src/write_graphite.c