aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_curl.c
diff options
context:
space:
mode:
authorGravatar Andreas Baumann <mail@andreasbaumann.cc> 2018-06-02 13:21:06 +0200
committerGravatar Sven Nierlein <sven@nierlein.de> 2018-10-22 16:30:31 +0200
commitaa3b63215ca9d027b0492cd86fae1118c7f8fdb5 (patch)
tree88aa76d43fbbb58ef04b12d685ab1f45a319cb6d /plugins/check_curl.c
parentbd7fe411d5f67b2de7d519da0575654585d1d321 (diff)
downloadmonitoring-plugins-aa3b63215ca9d027b0492cd86fae1118c7f8fdb5.tar.gz
..I should really not test in test code :-)
Diffstat (limited to 'plugins/check_curl.c')
-rw-r--r--plugins/check_curl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 4e65fea7..61bfd786 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -725,7 +725,6 @@ GOT_FIRST_CERT:
die (STATE_CRITICAL, _("HTTP CRITICAL - No header received from host\n"));
/* get status line of answer, check sanity of HTTP code */
- strcpy( header_buf.buf, "HTTP/1.1 200\r\nServer: unkown\r\n\r\n" );
if (curlhelp_parse_statusline (header_buf.buf, &status_line) < 0) {
snprintf (msg, DEFAULT_BUFFER_SIZE, "Unparsable status line in %.3g seconds response time|%s\n",
total_time, perfstring);