[checkmk-commits] Check_MK Git: check_mk: Windows agent: remove debug output

Mathias Kettner mk at mathias-kettner.de
Tue Aug 19 13:11:50 CEST 2014


Module: check_mk
Branch: master
Commit: 0d2128786bd57536ff4b6a6b7e185bf7cfcb5be3
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0d2128786bd57536ff4b6a6b7e185bf7cfcb5be3

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Tue Aug 19 13:11:41 2014 +0200

Windows agent: remove debug output

---

 agents/windows/check_mk_agent.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/agents/windows/check_mk_agent.cc b/agents/windows/check_mk_agent.cc
index bf03297..5f5b2ea 100755
--- a/agents/windows/check_mk_agent.cc
+++ b/agents/windows/check_mk_agent.cc
@@ -3909,7 +3909,6 @@ bool handle_mrpe_config_variable(char *var, char *value)
     if (!strcmp(var, "check")) {
         // First word: service description
         // Rest: command line
-        fprintf(stderr, "VALUE: [%s]\r\n", value);
         char *service_description = next_word(&value);
         char *command_line = value;
         if (!command_line || !command_line[0]) {
@@ -3938,7 +3937,8 @@ bool handle_mrpe_config_variable(char *var, char *value)
                 sizeof(tmp_entry->plugin_name));
         g_mrpe_entries.push_back(tmp_entry);
         return true;
-    } else if (!strncmp(var, "include", 7)) {
+    }
+    else if (!strncmp(var, "include", 7)) {
         char *user = NULL;
         if (strlen(var) > 7)
             user = lstrip(var + 7);



More information about the checkmk-commits mailing list