author | Florian Forster <octo@collectd.org> | |
Sat, 13 Jul 2013 09:24:27 +0000 (11:24 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 13 Jul 2013 09:24:27 +0000 (11:24 +0200) |
Conflicts:
src/plugin.c
src/plugin.c
1 | 2 | |||
---|---|---|---|---|
src/plugin.c | patch | | diff1 | | diff2 | | blob | history |
src/write_graphite.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc src/plugin.c
index 894b0e51d72731ba1f7faab5c032a122063e85be,d3767d1283b9678bec65e8665d5feb7b8c64bef7..2ad866e3bb2fbcb44012ff997b62932563bdd349
--- 1/src/plugin.c
--- 2/src/plugin.c
+++ b/src/plugin.c
destroy_all_callbacks (&list_shutdown);
destroy_all_callbacks (&list_log);
+ plugin_free_loaded ();
+ plugin_free_data_sets ();
} /* void plugin_shutdown_all */
int plugin_dispatch_missing (const value_list_t *vl) /* {{{ */
diff --cc src/write_graphite.c
index c1a11df2d0911175b3b512fa21829c7d2139b68f,99c6f4d80a91a669ee0ac86f0bfe0620de6bb13f..6124d33edf5a07ae26f922b1cc7a151a959b6c28
+++ b/src/write_graphite.c
{
char errbuf[1024];
c_complain (LOG_ERR, &cb->init_complaint,
- "write_graphite plugin: Connecting to %s:%s failed. "
- "The last error was: %s", node, service,
+ "write_graphite plugin: Connecting to %s:%s via %s failed. "
+ "The last error was: %s", node, service, protocol,
sstrerror (errno, errbuf, sizeof (errbuf)));
- close (cb->sock_fd);
return (-1);
}
else