[Nagiosplug-checkins] CVS: nagiosplug/plugins check_real.c,1.5,1.6

Subhendu Ghosh sghosh at users.sourceforge.net
Wed Apr 16 08:07:13 CEST 2003


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

Modified Files:
	check_real.c 
Log Message:
reset to old behavior of not checking stream by default

Index: check_real.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_real.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** check_real.c	11 Mar 2003 22:22:11 -0000	1.5
--- check_real.c	16 Apr 2003 15:06:31 -0000	1.6
***************
*** 64,68 ****
  char *server_address = "";
  char *host_name = "";
! char *server_url = "/";
  char *server_expect = EXPECT;
  int warning_time = 0;
--- 64,68 ----
  char *server_address = "";
  char *host_name = "";
! char *server_url = NULL;
  char *server_expect = EXPECT;
  int warning_time = 0;
***************
*** 163,167 ****
  
  	/* Part II - Check stream exists and is ok */
! 	if (result == STATE_OK) {
  
  		/* Part I - Server Check */
--- 163,167 ----
  
  	/* Part II - Check stream exists and is ok */
! 	if ((result == STATE_OK )&& (server_url != NULL) ) {
  
  		/* Part I - Server Check */





More information about the Commits mailing list