X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcurl_xml.c;h=28b2ded0104b79a6027119db8fe4d908a4474972;hb=0afea606;hp=e31e73d284f06d1a078d00211ef9f9a41b3698ef;hpb=0da910fb1bf2bd4982ca6541458c795ec296f398;p=collectd.git diff --git a/src/curl_xml.c b/src/curl_xml.c index e31e73d2..28b2ded0 100644 --- a/src/curl_xml.c +++ b/src/curl_xml.c @@ -344,7 +344,7 @@ static int cx_handle_instance_xpath (xmlXPathContextPtr xpath_ctx, /* {{{ */ /* 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), "