summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5e9542b)
raw | patch | inline | side by side (parent: 5e9542b)
author | Fabien Wernli <faxmodem@collectd.org> | |
Thu, 30 Apr 2015 08:05:35 +0000 (10:05 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 19 May 2015 16:36:00 +0000 (18:36 +0200) |
Change-Id: I9a3fc3ded9566bd68c80e5fbce2d8b717ea1848d
src/curl_xml.c | patch | blob | history |
diff --git a/src/curl_xml.c b/src/curl_xml.c
index e31e73d284f06d1a078d00211ef9f9a41b3698ef..13f6680c19429557816e76fce85ef26bcaa8a267 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 && (xpath->instance == NULL))
{
WARNING ("curl_xml plugin: "
"Base-XPath %s is a table (more than one result was returned), "