diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-04-18 15:17:38 -0400 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-04-18 15:18:17 -0400 |
commit | 783268ff84e5ff388ae77df4ea1abe48d8be9c1f (patch) | |
tree | e6b4d612e3237c064fd01eae20a863e88760cb11 /plugins | |
parent | 8eac67bda73ba9dccd7fa51d321f3693dcc452a6 (diff) | |
download | monitoring-plugins-783268f.tar.gz |
small fix and we see CURLOPT_SSL_CTX_FUNCTION does not work on Centos 6?
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_curl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c index f8c8832b..ff79f15b 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c | |||
@@ -248,7 +248,7 @@ handle_curl_option_return_code (CURLcode res, const char* option) | |||
248 | { | 248 | { |
249 | if (res != CURLE_OK) { | 249 | if (res != CURLE_OK) { |
250 | snprintf (msg, DEFAULT_BUFFER_SIZE, _("Error while setting cURL option '%s': cURL returned %d - %s"), | 250 | snprintf (msg, DEFAULT_BUFFER_SIZE, _("Error while setting cURL option '%s': cURL returned %d - %s"), |
251 | res, curl_easy_strerror(res)); | 251 | option, res, curl_easy_strerror(res)); |
252 | die (STATE_CRITICAL, "HTTP CRITICAL - %s\n", msg); | 252 | die (STATE_CRITICAL, "HTTP CRITICAL - %s\n", msg); |
253 | } | 253 | } |
254 | } | 254 | } |