From d7520c8d6f058dce6581382d56b480c73f8dddde Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Thu, 2 Dec 2004 14:35:04 +0000 Subject: 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 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) 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, ":")) { -- cgit v0.10-9-g596f