author | Dan Fandrich <dan@coneharvesters.com> | |
Wed, 6 Feb 2013 22:35:04 +0000 (23:35 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 16 Mar 2013 12:29:26 +0000 (13:29 +0100) | ||
commit | 56c7b21899e44b57b5031a21ca3652b30f4fc1aa | |
tree | 715400dcb8ec895f59b7e595ea9b9be412bc8f1e | tree | snapshot |
parent | 61f60a27181027b73181dcb805ce319335a64fb2 | commit | diff |
curl_xml plugin: Check for a curl_easy_perform() error first
The value of CURLINFO_RESPONSE_CODE isn't valid otherwise.
Also, use the symbolic name CURLE_OK in all plugins where
appropriate.
Change-Id: I17ae9c7eea393ee4641296b5484c93809a662dd9
Signed-off-by: Florian Forster <octo@collectd.org>
The value of CURLINFO_RESPONSE_CODE isn't valid otherwise.
Also, use the symbolic name CURLE_OK in all plugins where
appropriate.
Change-Id: I17ae9c7eea393ee4641296b5484c93809a662dd9
Signed-off-by: Florian Forster <octo@collectd.org>
src/apache.c | diff | blob | history | |
src/ascent.c | diff | blob | history | |
src/bind.c | diff | blob | history | |
src/curl.c | diff | blob | history | |
src/curl_json.c | diff | blob | history | |
src/curl_xml.c | diff | blob | history | |
src/nginx.c | diff | blob | history | |
src/write_http.c | diff | blob | history |