Code

Add another error string match from Pasi Tiittanen
[nagiosplug.git] / plugins / check_radius.c
index 57a3e40761e360e6da0afa3a6f208371551a181d..9e1046865e2e4e0a574db7cb2bdc786e460f37f4 100644 (file)
@@ -26,6 +26,7 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
 #include "common.h"
 #include "utils.h"
 #include "netutils.h"
+
 #include <radiusclient.h>
 
 int process_arguments (int, char **);
@@ -112,7 +113,7 @@ main (int argc, char **argv)
        bindtextdomain (PACKAGE, LOCALEDIR);
        textdomain (PACKAGE);
 
-       if (process_arguments (argc, argv) != TRUE)
+       if (process_arguments (argc, argv) == ERROR)
                usage4 (_("Could not parse arguments"));
 
        str = strdup ("dictionary");
@@ -335,6 +336,5 @@ print_usage (void)
 {
        printf ("\
 Usage: %s -H host -F config_file -u username -p password [-n nas-id] [-P port]\n\
-  [-t timeout] [-r retries] [-e expect]\n", progname);
-       printf (_(UT_HLP_VRS), progname, progname);
+                  [-t timeout] [-r retries] [-e expect]\n", progname);
 }