summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_ldap.c5
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
21const char *progname = "check_ldap"; 21/* progname may be check_ldaps */
22char *progname = "check_ldap";
22const char *revision = "$Revision$"; 23const char *revision = "$Revision$";
23const char *copyright = "2000-2004"; 24const char *copyright = "2000-2004";
24const char *email = "nagiosplug-devel@lists.sourceforge.net"; 25const 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)