collectd/collectd — pull request #502 by rtkmhart (2013-12-20 15:02:28+00:00)
Title: Fix issue #430 where write_graphite fails to reconnect

If LogSendErrors is set to false and protocol is tcp, the socket file descriptor was not getting reset to -1, and thus the tcp connection is never re-established if the remote end goes away. This pull requests fixes that issue.