summaryrefslogtreecommitdiffstats
path: root/plugins/check_real.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_real.c')
-rw-r--r--plugins/check_real.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_real.c b/plugins/check_real.c
index c553352..a910937 100644
--- a/plugins/check_real.c
+++ b/plugins/check_real.c
@@ -48,7 +48,7 @@
48#include "netutils.h" 48#include "netutils.h"
49#include "utils.h" 49#include "utils.h"
50 50
51#define PROGNAME "check_real" 51const char *progname = "check_real";
52 52
53#define PORT 554 53#define PORT 554
54#define EXPECT "RTSP/1." 54#define EXPECT "RTSP/1."
@@ -370,7 +370,7 @@ process_arguments (int argc, char **argv)
370 } 370 }
371 break; 371 break;
372 case 'V': /* version */ 372 case 'V': /* version */
373 print_revision (PROGNAME, "$Revision$"); 373 print_revision (progname, "$Revision$");
374 exit (STATE_OK); 374 exit (STATE_OK);
375 case 'h': /* help */ 375 case 'h': /* help */
376 print_help (); 376 print_help ();
@@ -410,7 +410,7 @@ validate_arguments (void)
410void 410void
411print_help (void) 411print_help (void)
412{ 412{
413 print_revision (PROGNAME, "$Revision$"); 413 print_revision (progname, "$Revision$");
414 printf 414 printf
415 ("Copyright (c) 2000 Pedro Leite (leite@cic.ua.pt)/Karl DeBisschop\n\n" 415 ("Copyright (c) 2000 Pedro Leite (leite@cic.ua.pt)/Karl DeBisschop\n\n"
416 "This plugin tests the REAL service on the specified host.\n\n"); 416 "This plugin tests the REAL service on the specified host.\n\n");
@@ -454,7 +454,7 @@ print_usage (void)
454 ("Usage: %s -H host [-e expect] [-p port] [-w warn] [-c crit]\n" 454 ("Usage: %s -H host [-e expect] [-p port] [-w warn] [-c crit]\n"
455 " [-t timeout] [-v]\n" 455 " [-t timeout] [-v]\n"
456 " %s --help\n" 456 " %s --help\n"
457 " %s --version\n", PROGNAME, PROGNAME, PROGNAME); 457 " %s --version\n", progname, progname, progname);
458} 458}
459 459
460 460