[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nagios-devel
Subject:    [Nagios-devel] small diff for service check events
From:       Hiren Patel <hir3npatel () gmail ! com>
Date:       2009-08-18 21:09:12
Message-ID: 4A8B1878.2060107 () gmail ! com
[Download RAW message or body]

remove this line since we're already setting this variable in exactly 
the same way about 10 lines up.

["events.diff" (text/x-patch)]

--- events.c	2009-06-17 05:23:38.000000000 +0200
+++ /tmp/events.c	2009-08-18 23:05:10.000000000 +0200
@@ -1242,7 +1242,6 @@
 		log_debug_info(DEBUGL_EVENTS,0,"** Service Check Event ==> Host: '%s', Service: \
'%s', Options: %d, Latency: %f \
sec\n",temp_service->host_name,temp_service->description,event->event_options,latency);
  
 		/* run the service check */
-		temp_service=(service *)event->event_data;
 		run_scheduled_service_check(temp_service,event->event_options,latency);
 		break;
 



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
Nagios-devel mailing list
Nagios-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic