summaryrefslogtreecommitdiffstats
path: root/contrib/check_rbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/check_rbl.c')
-rw-r--r--contrib/check_rbl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/check_rbl.c b/contrib/check_rbl.c
index 5c66113..69fdd23 100644
--- a/contrib/check_rbl.c
+++ b/contrib/check_rbl.c
@@ -21,7 +21,7 @@
21#include "popen.h" 21#include "popen.h"
22#include "string.h" 22#include "string.h"
23 23
24#define PROGNAME "check_rbl" 24const char progname = "check_rbl";
25 25
26int process_arguments(int, char **); 26int process_arguments(int, char **);
27int call_getopt(int, char **); 27int call_getopt(int, char **);
@@ -260,7 +260,7 @@ int call_getopt(int argc, char **argv)
260 } 260 }
261 break; 261 break;
262 case 'V': /* version */ 262 case 'V': /* version */
263 print_revision(PROGNAME,"$Revision$"); 263 print_revision(progname,"$Revision$");
264 exit(STATE_OK); 264 exit(STATE_OK);
265 case 'h': /* help */ 265 case 'h': /* help */
266 print_help(); 266 print_help();
@@ -290,7 +290,7 @@ int validate_arguments(void)
290 290
291void print_help(void) 291void print_help(void)
292{ 292{
293 print_revision(PROGNAME,"$Revision$"); 293 print_revision(progname,"$Revision$");
294 printf 294 printf
295 ("Copyright (c) 2000 Karl DeBisschop\n\n" 295 ("Copyright (c) 2000 Karl DeBisschop\n\n"
296 "This plugin uses dig to test whether the specified host is on any RBL lists.\n\n"); 296 "This plugin uses dig to test whether the specified host is on any RBL lists.\n\n");
@@ -325,5 +325,5 @@ void print_usage(void)
325 ("Usage: %s -H hostip -r rblname [-s server] [-t timeout] [-v]\n" 325 ("Usage: %s -H hostip -r rblname [-s server] [-t timeout] [-v]\n"
326 " %s --help\n" 326 " %s --help\n"
327 " %s --version\n", 327 " %s --version\n",
328 PROGNAME,PROGNAME,PROGNAME); 328 progname, progname, progname);
329} 329}