[icinga-checkins] icinga.org: icinga-core/test/core: fix leftover from refs #3531 #3820

git at icinga.org git at icinga.org
Mon Mar 11 23:31:59 CET 2013


Module: icinga-core
Branch: test/core
Commit: 56e2d28f4e03438a63272150927cc302188a00bf
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=56e2d28f4e03438a63272150927cc302188a00bf

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Mon Mar 11 23:30:44 2013 +0100

fix leftover from refs #3531 #3820

---

 base/config.c     |    2 --
 include/logging.h |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/base/config.c b/base/config.c
index a6928d6..ba2f116 100644
--- a/base/config.c
+++ b/base/config.c
@@ -1679,9 +1679,7 @@ int read_resource_file(char *resource_file) {
 
 /* do a pre-flight check to make sure object relationships, etc. make sense */
 int pre_flight_check(void) {
-	host *temp_host = NULL;
 	char *buf = NULL;
-	service *temp_service = NULL;
 	command *temp_command = NULL;
 	char *temp_command_name = "";
 	int warnings = 0;
diff --git a/include/logging.h b/include/logging.h
index 1bf5706..6fdc038 100644
--- a/include/logging.h
+++ b/include/logging.h
@@ -111,10 +111,10 @@ int log_service_states(int,time_t *);                   /* logs initial/current
 int rotate_log_file(time_t);			     	/* rotates the main log file */
 int write_log_file_info(time_t *); 			/* records log file/version info */
 int open_debug_log(void);
-int chown_debug_log(uid_t, gid_t);
 int close_debug_log(void);
 FILE *open_log_file(void);
 int close_log_file(void);
+int fix_log_file_owner(uid_t, gid_t);
 
 #endif /* !NSCGI */
 





More information about the icinga-checkins mailing list