curl_json, curl_xml: Fix unitialized variable
authorRainer Müller <raimue@codingfarm.de>
Sun, 10 Nov 2013 02:39:22 +0000 (03:39 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 13 Nov 2013 18:55:57 +0000 (19:55 +0100)
The variable url is used unintialized here. The code used to be the same
in both plugins, but diverged in 19808b44. The solution applied there
does not work correctly as the effective URL can only be queried after
performing the request. Instead, just use the original request URL.

Signed-off-by: Florian Forster <octo@collectd.org>

No differences found