diff options
Diffstat (limited to 'plugins/check_ldap.c')
-rw-r--r-- | plugins/check_ldap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 29bc01b..582c956 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c | |||
@@ -18,7 +18,8 @@ | |||
18 | 18 | ||
19 | ******************************************************************************/ | 19 | ******************************************************************************/ |
20 | 20 | ||
21 | const char *progname = "check_ldap"; | 21 | /* progname may be check_ldaps */ |
22 | char *progname = "check_ldap"; | ||
22 | const char *revision = "$Revision$"; | 23 | const char *revision = "$Revision$"; |
23 | const char *copyright = "2000-2004"; | 24 | const char *copyright = "2000-2004"; |
24 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 25 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
@@ -84,7 +85,7 @@ main (int argc, char *argv[]) | |||
84 | textdomain (PACKAGE); | 85 | textdomain (PACKAGE); |
85 | 86 | ||
86 | if (strstr(argv[0],"check_ldaps")) { | 87 | if (strstr(argv[0],"check_ldaps")) { |
87 | asprintf (&progname, "check_ldaps"); | 88 | asprintf (&progname, "check_ldaps"); |
88 | } | 89 | } |
89 | 90 | ||
90 | if (process_arguments (argc, argv) == ERROR) | 91 | if (process_arguments (argc, argv) == ERROR) |