Minor issue in service_notification()

Luke Ross l-ross at northwestern.edu
Thu May 29 20:44:23 CEST 2008


There seems to be a minor inconsistency in service_notification():

if(contacts_notified>0){

         /* calculate the next acceptable re-notification time */
         svc->next_notification=get_next_service_notification_time(svc,current_time);

         log_debug_info(DEBUGL_NOTIFICATIONS,0,"No contacts were 
notified.  Next possible notification time: 
%s",ctime(&svc->next_notification));


It seems that if the if condition is true, then at least one contact 
was notified, and if that's true the text of the log message is 
incorrect. Either that or there's something else going on here that I 
don't understand.

Thanks,
Luke



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/




More information about the Developers mailing list