[monitoring-plugins] fixed typo in check_curl error message ...

Andreas Baumann git at monitoring-plugins.org
Fri Jun 1 12:10:15 CEST 2018


 Module: monitoring-plugins
 Branch: feature_check_curl
 Commit: 25a2205f7ab4037c5b63f3af3b1533e0b472327f
 Author: Andreas Baumann <mail at andreasbaumann.cc>
   Date: Fri Jun  1 12:04:05 2018 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=25a2205

fixed typo in check_curl error message (unparsable)

---

 plugins/check_curl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:
 
   /* get status line of answer, check sanity of HTTP code */
   if (curlhelp_parse_statusline (header_buf.buf, &status_line) < 0) {
-    snprintf (msg, DEFAULT_BUFFER_SIZE, "Unparseable status line in %.3g seconds response time|%s\n",
+    snprintf (msg, DEFAULT_BUFFER_SIZE, "Unparsable status line in %.3g seconds response time|%s\n",
       total_time, perfstring);
     die (STATE_CRITICAL, "HTTP CRITICAL HTTP/1.x %ld unknown - %s", code, msg);
   }



More information about the Commits mailing list