[Nagiosplug-checkins] CVS: nagiosplug/plugins check_http.c,1.29,1.30

Karl DeBisschop kdebisschop at users.sourceforge.net
Mon Apr 7 04:40:03 CEST 2003


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv29506/plugins

Modified Files:
	check_http.c 
Log Message:
ste timeout one second greater than critical time

Index: check_http.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_http.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** check_http.c	13 Mar 2003 21:14:25 -0000	1.29
--- check_http.c	7 Apr 2003 11:39:04 -0000	1.30
***************
*** 487,490 ****
--- 487,493 ----
  	}
  
+ 	if (check_critical_time && critical_time>(double)socket_timeout)
+ 		socket_timeout = (int)critical_time + 1;
+ 
  	return TRUE;
  }





More information about the Commits mailing list