aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-02 14:35:04 +0000
committerGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-02 14:35:04 +0000
commitd7520c8d6f058dce6581382d56b480c73f8dddde (patch)
tree3bdfa92d6aee82151531bebad99c97cca8553457 /plugins
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
Diffstat (limited to 'plugins')
-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 f5a6c2b8..e962e024 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -145,7 +145,7 @@ main (int argc, char **argv)
asprintf (&user_agent, "User-Agent: check_http/%s (nagios-plugins %s)",
clean_revstring (revision), VERSION);
- if (process_arguments (argc, argv) != OK)
+ if (process_arguments (argc, argv) != TRUE)
usage (_("check_http: could not parse arguments\n"));
if (strstr (timestamp, ":")) {