author | Rainer Müller <raimue@codingfarm.de> | |
Sun, 10 Nov 2013 02:39:22 +0000 (03:39 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 13 Nov 2013 18:55:57 +0000 (19:55 +0100) | ||
commit | 8327ee64139eae2172f35cfdd7ee41998b806bcf | |
tree | 5a5c36e91794b6b7aa9acb4202d9619c0f996df0 | tree | snapshot |
parent | a2983ff80886d944e67269c204c326621c1f42ea | commit | diff |
curl_json, curl_xml: Fix unitialized variable
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>
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>
src/curl_json.c | diff | blob | history | |
src/curl_xml.c | diff | blob | history |