diff options
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-04-16 15:31:08 (GMT) |
---|---|---|
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-04-16 15:31:08 (GMT) |
commit | 6b891545ced74ddb7e419fe1d13c0118cc13c316 (patch) | |
tree | a193d37829b55758e9342c31bb7a45429b405b86 /plugins/check_real.c | |
parent | 0e9e00cb324e0681bf1121954becb3fd245d910d (diff) | |
download | monitoring-plugins-6b891545ced74ddb7e419fe1d13c0118cc13c316.tar.gz |
old behavior - no stream check unless -u
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/release-1.3.0@494 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_real.c')
-rw-r--r-- | plugins/check_real.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_real.c b/plugins/check_real.c index ef3581b..0bfa446 100644 --- a/plugins/check_real.c +++ b/plugins/check_real.c | |||
@@ -63,7 +63,7 @@ void print_usage (void); | |||
63 | int server_port = PORT; | 63 | int server_port = PORT; |
64 | char *server_address = ""; | 64 | char *server_address = ""; |
65 | char *host_name = ""; | 65 | char *host_name = ""; |
66 | char *server_url = "/"; | 66 | char *server_url = NULL; |
67 | char *server_expect = EXPECT; | 67 | char *server_expect = EXPECT; |
68 | int warning_time = 0; | 68 | int warning_time = 0; |
69 | int check_warning_time = FALSE; | 69 | int check_warning_time = FALSE; |
@@ -162,7 +162,7 @@ main (int argc, char **argv) | |||
162 | } | 162 | } |
163 | 163 | ||
164 | /* Part II - Check stream exists and is ok */ | 164 | /* Part II - Check stream exists and is ok */ |
165 | if (result == STATE_OK) { | 165 | if ((result == STATE_OK)&& (server_url != NULL) ) { |
166 | 166 | ||
167 | /* Part I - Server Check */ | 167 | /* Part I - Server Check */ |
168 | 168 | ||