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