summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-06-01 10:04:05 (GMT)
committerAndreas Baumann <mail@andreasbaumann.cc>2018-06-01 10:04:05 (GMT)
commit25a2205f7ab4037c5b63f3af3b1533e0b472327f (patch)
tree0c1eb2a5173928176f45fb68a0219af794187bcf
parentf176cc5e1022a2ce6b6466932c79316be387cdbf (diff)
downloadmonitoring-plugins-25a2205.tar.gz
fixed typo in check_curl error message (unparsable)
-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 1e9561b..4141b32 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 }