summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a9161ec)
raw | patch | inline | side by side (parent: a9161ec)
author | Florian Forster <octo@collectd.org> | |
Thu, 17 Jan 2013 09:50:08 +0000 (10:50 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 17 Jan 2013 09:50:08 +0000 (10:50 +0100) |
The failing functions already print an error message; don't spam the logs
by duplicating this.
Further fixes Github issue #236.
by duplicating this.
Further fixes Github issue #236.
src/write_graphite.c | patch | blob | history |
diff --git a/src/write_graphite.c b/src/write_graphite.c
index b6cba8a398a7683156b17fcb75a11056d2b7a822..a3bead39b49147a8a72fca8ebf9c16489d095464 100644 (file)
--- a/src/write_graphite.c
+++ b/src/write_graphite.c
status = wg_callback_init (cb);
if (status != 0)
{
- ERROR ("write_graphite plugin: wg_callback_init failed.");
+ /* An error message has already been printed. */
pthread_mutex_unlock (&cb->send_lock);
return (-1);
}
status = wg_send_message (key, values, vl->time, cb);
if (status != 0)
{
- ERROR ("write_graphite plugin: error with "
- "wg_send_message");
+ /* An error message has already been printed. */
return (status);
}
}