Module: check_mk
Branch: master
Commit: 46d61d82a1a2e9c0ea6495c2ab7cd89ca68b8c87
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=46d61d82a1a2e9…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Jan 20 08:35:04 2016 +0100
Some const-correctness fixes. More to come...
---
livestatus/src/HostServiceState.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/livestatus/src/HostServiceState.h b/livestatus/src/HostServiceState.h
index 850b5b4..562080f 100644
--- a/livestatus/src/HostServiceState.h
+++ b/livestatus/src/HostServiceState.h
@@ -82,8 +82,8 @@ struct HostServiceState {
// Pointer to dynamically allocated strings (strdup) that live here.
// These pointers are 0, if there is no output (e.g. downtime)
char *_log_output;
- char *_notification_period; // may be "": -> no period known, we assume "always"
- char *_service_period; // may be "": -> no period known, we assume "always"
+ const char *_notification_period; // may be "": -> no period known, we assume "always"
+ const char *_service_period; // may be "": -> no period known, we assume "always"
host *_host;
service *_service;
const char *_host_name; // Fallback if host no longer exists
Module: check_mk
Branch: master
Commit: 1dea9a14b760e22af8d63bbc2acc36f6d8a66cbd
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1dea9a14b760e2…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jan 19 16:01:06 2016 +0100
Updated bug entries #2172, #2303
---
.bugs/2172 | 7 +++++--
.bugs/2303 | 6 ++++--
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/.bugs/2172 b/.bugs/2172
index eb6926b..e433ba1 100644
--- a/.bugs/2172
+++ b/.bugs/2172
@@ -1,11 +1,14 @@
Title: load_user_file/save_user_file should handle encoding correctly
Component: multisite
-State: open
+Class: bug
+State: wontfix
Date: 2015-03-04 09:42:59
Targetversion: 1.2.7
-Class: bug
Currently in all saved userfiles unicode strings are converted to utf-8
encoding ascii strings. These strings are not converted back to unicode
strings during load_user_file(..). All strings with umlauts need to be
unicode strings within multisite code.
+
+2016-01-19 16:00:58: changed state open -> wontfix
+The problem was somewhere else. These functions work like a charm
diff --git a/.bugs/2303 b/.bugs/2303
index 1c25cd9..970f728 100644
--- a/.bugs/2303
+++ b/.bugs/2303
@@ -2,7 +2,9 @@ Title: heartbeat_crm: parse old output, get at least in warning if unmanaged
Component: checks
State: open
Date: 2015-02-20 15:29:17
-Targetversion: 1.2.7
+Targetversion: 1.2.8
Class: bug
-There are three example outputs in server-linux-heartbeat-{1,2,3} in our (MK's) archive.
+There are three example outputs in server-linux-heartbeat-{1,2,3} in our
+(MK's) archive. in server-linux-heartbeat-2 there are some unmanaged
+nodes. Someone who understands this output needs to have a look.