[icinga-checkins] icinga.org: icinga-core/next: fix default setting for cgi_log_rotation_method

git at icinga.org git at icinga.org
Sat Jul 27 21:00:14 CEST 2013


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

Author: Michael Friedrich <Michael.Friedrich at netways.de>
Date:   Sat Jul 27 20:37:42 2013 +0200

fix default setting for cgi_log_rotation_method

thanks clang for unveiling self assignment!

refs #4159

---

 cgi/config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cgi/config.c b/cgi/config.c
index 6638d59..ea7ccf6 100644
--- a/cgi/config.c
+++ b/cgi/config.c
@@ -4524,7 +4524,7 @@ void store_default_settings(void) {
 	org_color_transparency_index_b = color_transparency_index_b;
 	org_color_transparency_index_g = color_transparency_index_g;
 	org_color_transparency_index_r = color_transparency_index_r;
-	org_cgi_log_rotation_method = org_cgi_log_rotation_method;
+	org_cgi_log_rotation_method = cgi_log_rotation_method;
 	org_default_downtime_duration = default_downtime_duration;
 	org_default_expiring_acknowledgement_duration = default_expiring_acknowledgement_duration;
 	org_display_status_totals = display_status_totals;





More information about the icinga-checkins mailing list