[monitoring-plugins] small fix and we see CURLOPT_SSL_CTX_FUNCTION ...
Andreas Baumann
git at monitoring-plugins.org
Tue Apr 18 21:20:12 CEST 2017
Module: monitoring-plugins
Branch: feature_check_curl
Commit: 783268ff84e5ff388ae77df4ea1abe48d8be9c1f
Author: Andreas Baumann <mail at andreasbaumann.cc>
Date: Tue Apr 18 15:17:38 2017 -0400
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=783268f
small fix and we see CURLOPT_SSL_CTX_FUNCTION does not work on Centos 6?
---
plugins/check_curl.c | 2 +-
po/de.po | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index f8c8832..ff79f15 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -248,7 +248,7 @@ handle_curl_option_return_code (CURLcode res, const char* option)
{
if (res != CURLE_OK) {
snprintf (msg, DEFAULT_BUFFER_SIZE, _("Error while setting cURL option '%s': cURL returned %d - %s"),
- res, curl_easy_strerror(res));
+ option, res, curl_easy_strerror(res));
die (STATE_CRITICAL, "HTTP CRITICAL - %s\n", msg);
}
}
diff --git a/po/de.po b/po/de.po
index 72694e2..919fae3 100644
--- a/po/de.po
+++ b/po/de.po
@@ -13,10 +13,10 @@ msgstr ""
"PO-Revision-Date: 2004-12-23 17:46+0100\n"
"Last-Translator: <>\n"
"Language-Team: English <en at li.org>\n"
-"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
+"Language: en\n"
"Plural-Forms: nplurals=2; plural=(n > 1);X-Generator: KBabel 1.3.1\n"
#: plugins/check_by_ssh.c:86 plugins/check_cluster.c:76 plugins/check_dig.c:88
@@ -5438,8 +5438,8 @@ msgstr ""
#: plugins/negate.c:174
msgid ""
-"Ok must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer "
-"(0-3)."
+"Ok must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-"
+"3)."
msgstr ""
#: plugins/negate.c:180
More information about the Commits
mailing list