summaryrefslogtreecommitdiffstats
path: root/plugins/check_real.c
diff options
context:
space:
mode:
authorSubhendu Ghosh <sghosh@users.sourceforge.net>2003-04-16 15:06:31 (GMT)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>2003-04-16 15:06:31 (GMT)
commite01c91d3a039038c7f6be5a323fadf2b595f1409 (patch)
treec44a316649877a7380e6bde8b3cd742af3c46f1d /plugins/check_real.c
parent48ad288b899bc1f10b6ee18514b6fef51c8eb17a (diff)
downloadmonitoring-plugins-e01c91d3a039038c7f6be5a323fadf2b595f1409.tar.gz
reset to old behavior of not checking stream by default
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@493 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_real.c')
-rw-r--r--plugins/check_real.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_real.c b/plugins/check_real.c
index 6b484ea..272aab6 100644
--- a/plugins/check_real.c
+++ b/plugins/check_real.c
@@ -63,7 +63,7 @@ void print_usage (void);
63int server_port = PORT; 63int server_port = PORT;
64char *server_address = ""; 64char *server_address = "";
65char *host_name = ""; 65char *host_name = "";
66char *server_url = "/"; 66char *server_url = NULL;
67char *server_expect = EXPECT; 67char *server_expect = EXPECT;
68int warning_time = 0; 68int warning_time = 0;
69int check_warning_time = FALSE; 69int 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