[icinga-checkins] icinga.org: icinga-core/mfriedrich/solaris: fix broken parenthesis from previous commit

git at icinga.org git at icinga.org
Fri Sep 24 14:33:29 CEST 2010


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

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Sep 24 14:34:35 2010 +0200

fix broken parenthesis from previous commit

---

 xdata/xsddefault.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/xdata/xsddefault.c b/xdata/xsddefault.c
index f5063de..56cebbf 100644
--- a/xdata/xsddefault.c
+++ b/xdata/xsddefault.c
@@ -1001,11 +1001,12 @@ int xsddefault_read_status_data(char *config_file,int options){
 					enable_failure_prediction=(atoi(val)>0)?TRUE:FALSE;
 				else if(!strcmp(var,"process_performance_data"))
 					process_performance_data=(atoi(val)>0)?TRUE:FALSE;
-				else if(!strcmp(var,"event_profiling_enabled"))
+				else if(!strcmp(var,"event_profiling_enabled")){
 /* make sure gcc3 won't hit here */
 #ifndef GCCTOOOLD
 					event_profiling_enabled=atoi(val);
 #endif
+					}
 
 				else if(strstr(var,"PROFILE_")){
 /* make sure gcc3 won't hit here */





More information about the icinga-checkins mailing list