write_tsdb plugin: don't close a closed socket
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 5 Dec 2015 13:28:23 +0000 (14:28 +0100)
committerFlorian Forster <octo@collectd.org>
Sat, 5 Dec 2015 20:39:17 +0000 (21:39 +0100)
commit2d8020ff79f43f9abce82ef27b13b382c85e8f98
tree6de5809f3c37edf2f040b7b67fae88d04c42bfec
parent438651f58b05cbbc5d5ddf3d465da62e0d8bde40
write_tsdb plugin: don't close a closed socket

CID #37979 and #37980

Signed-off-by: Florian Forster <octo@collectd.org>
src/write_tsdb.c