[Nagiosplug-checkins] CVS: nagiosplug/plugins check_real.c,1.4,1.4.2.1
Subhendu Ghosh
sghosh at users.sourceforge.net
Wed Apr 16 08:32:06 CEST 2003
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv30484/plugins
Modified Files:
Tag: r1_3_0
check_real.c
Log Message:
old behavior - no stream check unless -u
Index: check_real.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_real.c,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -C2 -r1.4 -r1.4.2.1
*** check_real.c 28 Jan 2003 07:42:32 -0000 1.4
--- check_real.c 16 Apr 2003 15:31:08 -0000 1.4.2.1
***************
*** 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