summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ef510f3)
raw | patch | inline | side by side (parent: ef510f3)
author | Florian Forster <octo@collectd.org> | |
Thu, 18 Jun 2015 07:16:18 +0000 (09:16 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 18 Jun 2015 08:23:54 +0000 (10:23 +0200) |
src/modbus.c | patch | blob | history |
diff --git a/src/modbus.c b/src/modbus.c
index 887c63c03235922c2f7c62eff1d7e4409eee4f80..df169825706a9bde4d2d06fa22d3ed63ed883d1f 100644 (file)
--- a/src/modbus.c
+++ b/src/modbus.c
else
values_num = 1;
- status = 0;
if (host->connection == NULL)
{
status = EBADF;
for (i = 0; i < ci->children_num; i++)
{
oconfig_item_t *child = ci->children + i;
- status = 0;
if (strcasecmp ("Type", child->key) == 0)
status = cf_util_get_string_buffer (child,
for (i = 0; i < ci->children_num; i++)
{
oconfig_item_t *child = ci->children + i;
- status = 0;
if (strcasecmp ("Instance", child->key) == 0)
status = cf_util_get_string_buffer (child,