summaryrefslogtreecommitdiffstats
path: root/plugins/check_curl.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-06-01 12:04:05 +0200
committerSven Nierlein <sven@nierlein.de>2018-10-22 16:30:31 +0200
commit92bab06a45c169c6118a752e70fb180707b5bd1e (patch)
treee620b9f48808cb76bf2af7319a1cacbf58cce873 /plugins/check_curl.c
parentd6491ba403d37abf54e56c96fb5c7b808943b5d3 (diff)
downloadmonitoring-plugins-92bab06a45c169c6118a752e70fb180707b5bd1e.tar.gz
fixed typo in check_curl error message (unparsable)
Diffstat (limited to 'plugins/check_curl.c')
-rw-r--r--plugins/check_curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 1e9561bb..4141b326 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -726,7 +726,7 @@ GOT_FIRST_CERT:
726 726
727 /* get status line of answer, check sanity of HTTP code */ 727 /* get status line of answer, check sanity of HTTP code */
728 if (curlhelp_parse_statusline (header_buf.buf, &status_line) < 0) { 728 if (curlhelp_parse_statusline (header_buf.buf, &status_line) < 0) {
729 snprintf (msg, DEFAULT_BUFFER_SIZE, "Unparseable status line in %.3g seconds response time|%s\n", 729 snprintf (msg, DEFAULT_BUFFER_SIZE, "Unparsable status line in %.3g seconds response time|%s\n",
730 total_time, perfstring); 730 total_time, perfstring);
731 die (STATE_CRITICAL, "HTTP CRITICAL HTTP/1.x %ld unknown - %s", code, msg); 731 die (STATE_CRITICAL, "HTTP CRITICAL HTTP/1.x %ld unknown - %s", code, msg);
732 } 732 }