(no subject)

Dietmar Ruzicka druzicka at gmx.at
Thu Mar 24 14:05:39 CET 2005


Hi,

There is a tiny bug in the add_property function for servicedependency. If
the execution_failure_criteria is set to n, fail_execution_on_critical will
be set to FALSE and in the next line to TRUE and fail_execute_on_pending
won't be set. Both should be FALSE. The hostdependency is correct.

See my attached patch against cvs. 

Regards 

Dietmar


$ diff -c xodtemplate.c.original xodtemplate.c
*** xodtemplate.c.original      Thu Mar 24 13:51:46 2005
--- xodtemplate.c       Thu Mar 24 13:52:31 2005
***************
*** 2129,2135 ****
                                       
temp_servicedependency->fail_execute_on_unknown=FALSE;
                                       
temp_servicedependency->fail_execute_on_warning=FALSE;
                                       
temp_servicedependency->fail_execute_on_critical=FALSE;
!                                      
temp_servicedependency->fail_execute_on_critical=TRUE;
                                        }
                                else{
  #ifdef NSCORE
--- 2129,2135 ----
                                       
temp_servicedependency->fail_execute_on_unknown=FALSE;
                                       
temp_servicedependency->fail_execute_on_warning=FALSE;
                                       
temp_servicedependency->fail_execute_on_critical=FALSE;
!                                      
temp_servicedependency->fail_execute_on_pending=FALSE;
                                        }
                                else{
  #ifdef NSCORE

-- 
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click




More information about the Developers mailing list