summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b260f72)
raw | patch | inline | side by side (parent: b260f72)
author | Florian Forster <octo@collectd.org> | |
Fri, 21 Nov 2014 10:23:01 +0000 (11:23 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Mon, 6 Jul 2015 12:07:10 +0000 (14:07 +0200) |
src/mqtt.c | patch | blob | history |
diff --git a/src/mqtt.c b/src/mqtt.c
index c5254375867c38b90a5947fc61affcd54e2b0e02..163bd4ad8a49994d8149fb540de7ad8bb14646f4 100644 (file)
--- a/src/mqtt.c
+++ b/src/mqtt.c
conf = user_data->data;
status = format_topic (topic, sizeof (topic), ds, vl, conf);
+ if (status != 0)
{
ERROR ("mqtt plugin: format_topic failed with status %d.", status);
return (status);