diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-06-01 10:04:05 (GMT) |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2018-10-22 14:30:31 (GMT) |
commit | 92bab06a45c169c6118a752e70fb180707b5bd1e (patch) | |
tree | e620b9f48808cb76bf2af7319a1cacbf58cce873 /plugins/check_curl.c | |
parent | d6491ba403d37abf54e56c96fb5c7b808943b5d3 (diff) | |
download | monitoring-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.c | 2 |
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 | } |