summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 15037c9)
raw | patch | inline | side by side (parent: 15037c9)
author | Fabien Wernli <faxmodem@collectd.org> | |
Mon, 9 Feb 2015 20:16:32 +0000 (21:16 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 19 May 2015 16:35:56 +0000 (18:35 +0200) |
src/curl_xml.c | patch | blob | history |
diff --git a/src/curl_xml.c b/src/curl_xml.c
index 28b2ded0104b79a6027119db8fe4d908a4474972..e31e73d284f06d1a078d00211ef9f9a41b3698ef 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)
+ if (is_table && (vl->type_instance == NULL))
{
WARNING ("curl_xml plugin: "
"Base-XPath %s is a table (more than one result was returned), "