summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0da910f)
raw | patch | inline | side by side (parent: 0da910f)
author | Arthur Marble <arthur@info9.net> | |
Sun, 17 Aug 2014 22:34:04 +0000 (17:34 -0500) | ||
committer | Florian Forster <octo@collectd.org> | |
Mon, 18 Aug 2014 07:30:15 +0000 (09:30 +0200) |
Fixes: http://bugs.debian.org/758481
Signed-off-by: Florian Forster <octo@collectd.org>
Signed-off-by: Florian Forster <octo@collectd.org>
src/curl_xml.c | patch | blob | history |
diff --git a/src/curl_xml.c b/src/curl_xml.c
index e31e73d284f06d1a078d00211ef9f9a41b3698ef..28b2ded0104b79a6027119db8fe4d908a4474972 100644 (file)
--- a/src/curl_xml.c
+++ b/src/curl_xml.c
/* If the base xpath returns more than one block, the result is assumed to be
* a table. The `Instnce' option is not optional in this case. Check for the
* condition and inform the user. */
- if (is_table && (vl->type_instance == NULL))
+ if (is_table)
{
WARNING ("curl_xml plugin: "
"Base-XPath %s is a table (more than one result was returned), "