summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_http.c')
-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 3ff834b..c0b18fc 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) != TRUE) 148 if (process_arguments (argc, argv) == ERROR)
149 usage4 (_("Could not parse arguments")); 149 usage4 (_("Could not parse arguments"));
150 150
151 if (strstr (timestamp, ":")) { 151 if (strstr (timestamp, ":")) {