diff options
-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 b1021045..6d50568f 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c | |||
@@ -230,7 +230,7 @@ mp_subcheck check_http(const check_curl_config config, check_curl_working_state | |||
230 | 230 | ||
231 | /* Curl errors, result in critical Nagios state */ | 231 | /* Curl errors, result in critical Nagios state */ |
232 | if (res != CURLE_OK) { | 232 | if (res != CURLE_OK) { |
233 | xasprintf(&sc_curl.output, _("Error while performing connectiion: cURL returned %d - %s"), | 233 | xasprintf(&sc_curl.output, _("Error while performing connection: cURL returned %d - %s"), |
234 | res, errbuf[0] ? errbuf : curl_easy_strerror(res)); | 234 | res, errbuf[0] ? errbuf : curl_easy_strerror(res)); |
235 | sc_curl = mp_set_subcheck_state(sc_curl, STATE_CRITICAL); | 235 | sc_curl = mp_set_subcheck_state(sc_curl, STATE_CRITICAL); |
236 | mp_add_subcheck_to_subcheck(&sc_result, sc_curl); | 236 | mp_add_subcheck_to_subcheck(&sc_result, sc_curl); |