Procházet zdrojové kódy

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
Benoit Mortier před 21 roky
rodič
revize
d7520c8d6f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      plugins/check_http.c

+ 1 - 1
plugins/check_http.c

@@ -145,7 +145,7 @@ main (int argc, char **argv)
 	asprintf (&user_agent, "User-Agent: check_http/%s (nagios-plugins %s)",
 	asprintf (&user_agent, "User-Agent: check_http/%s (nagios-plugins %s)",
 	          clean_revstring (revision), VERSION);
 	          clean_revstring (revision), VERSION);
 
 
-	if (process_arguments (argc, argv) != OK)
+	if (process_arguments (argc, argv) != TRUE)
 		usage (_("check_http: could not parse arguments\n"));
 		usage (_("check_http: could not parse arguments\n"));
 
 
 	if (strstr (timestamp, ":")) {
 	if (strstr (timestamp, ":")) {