X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fcheck_radius.c;h=9e1046865e2e4e0a574db7cb2bdc786e460f37f4;hb=3438df79d1fbf7d929467855ffe7b9f1c181c09e;hp=57a3e40761e360e6da0afa3a6f208371551a181d;hpb=016d33230eb4fffd7e1f5644ce4901cb4d01f4e3;p=nagiosplug.git diff --git a/plugins/check_radius.c b/plugins/check_radius.c index 57a3e40..9e10468 100644 --- a/plugins/check_radius.c +++ b/plugins/check_radius.c @@ -26,6 +26,7 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" #include "utils.h" #include "netutils.h" + #include 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); }