summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 14:35:04 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 14:35:04 (GMT)
commitd7520c8d6f058dce6581382d56b480c73f8dddde (patch)
tree3bdfa92d6aee82151531bebad99c97cca8553457
parent74503e07282d0890b6d90b20a793a3048125714f (diff)
downloadmonitoring-plugins-d7520c8d6f058dce6581382d56b480c73f8dddde.tar.gz
return of process_arguments() is TRUE not OK !
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@977 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/check_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index f5a6c2b..e962e02 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -145,7 +145,7 @@ main (int argc, char **argv)
145 asprintf (&user_agent, "User-Agent: check_http/%s (nagios-plugins %s)", 145 asprintf (&user_agent, "User-Agent: check_http/%s (nagios-plugins %s)",
146 clean_revstring (revision), VERSION); 146 clean_revstring (revision), VERSION);
147 147
148 if (process_arguments (argc, argv) != OK) 148 if (process_arguments (argc, argv) != TRUE)
149 usage (_("check_http: could not parse arguments\n")); 149 usage (_("check_http: could not parse arguments\n"));
150 150
151 if (strstr (timestamp, ":")) { 151 if (strstr (timestamp, ":")) {