File nagios-fix_forced_servicechecks.patch of Package nagios.import4839

Index: cgi/cmd.c
===================================================================
--- cgi/cmd.c.orig
+++ cgi/cmd.c
@@ -2060,6 +2060,10 @@
 		break;
 
 	case CMD_SCHEDULE_SVC_CHECK:
+		if(force_check==TRUE)
+			cmd=CMD_SCHEDULE_FORCED_SVC_CHECK;
+		result = cmd_submitf(cmd,"%s;%s;%lu",host_name,service_desc,start_time);
+		break;
 	case CMD_SCHEDULE_FORCED_SVC_CHECK:
 		if(force_check==TRUE)
 			cmd=CMD_SCHEDULE_FORCED_SVC_CHECK;
openSUSE Build Service is sponsored by