riemann plugin: Improve the riemann_send() function.
authorFlorian Forster <octo@collectd.org>
Wed, 9 Jan 2013 10:18:05 +0000 (11:18 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 9 Jan 2013 10:18:05 +0000 (11:18 +0100)
commit4df77626505fc8275417bfa08cc12b4e5907299e
tree0f2dd125d4407897e4c88f39863cf588cc6c8743
parentb53792f620f86bdf1cd707d04d16352adf2dec49
riemann plugin: Improve the riemann_send() function.

Make the passed in "Msg*" const, use swrite() to make sure the entire
buffer is sent and break out the disconnect logic into an own function.
src/riemann.c