From 30a4266a3a624abbbaace89141f1369ecb5367aa Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Fri, 3 Dec 2004 23:55:29 +0000 Subject: reverting my changes from !=TRUE to == ERROR, that's not good ;-( sorry git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@998 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/check_http.c') diff --git a/plugins/check_http.c b/plugins/check_http.c index 3ff834b3..c0b18fc8 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) != TRUE) + if (process_arguments (argc, argv) == ERROR) usage4 (_("Could not parse arguments")); if (strstr (timestamp, ":")) { -- cgit v1.2.3