summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 48ad288)
raw | patch | inline | side by side (parent: 48ad288)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 16 Apr 2003 15:06:31 +0000 (15:06 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 16 Apr 2003 15:06:31 +0000 (15:06 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@493 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_real.c | patch | blob | history |
diff --git a/plugins/check_real.c b/plugins/check_real.c
index 6b484eac30544b59484c21b7983b7fe67cdbc576..272aab61d85d0531e99c7b188ee44dbd2c4aade3 100644 (file)
--- a/plugins/check_real.c
+++ b/plugins/check_real.c
int server_port = PORT;
char *server_address = "";
char *host_name = "";
-char *server_url = "/";
+char *server_url = NULL;
char *server_expect = EXPECT;
int warning_time = 0;
int check_warning_time = FALSE;
}
/* Part II - Check stream exists and is ok */
- if (result == STATE_OK) {
+ if ((result == STATE_OK )&& (server_url != NULL) ) {
/* Part I - Server Check */