summaryrefslogtreecommitdiffstats
path: root/plugins/check_ldap.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-12-10 21:18:01 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2004-12-10 21:18:01 (GMT)
commit68eb45b44bed432b699aceb64bc121389480a4bd (patch)
treeda66fd1b5862b103a05be3c503cfe1a314057869 /plugins/check_ldap.c
parent1a8f9b94e5a58acb2e06d50524528da725e0f424 (diff)
downloadmonitoring-plugins-68eb45b44bed432b699aceb64bc121389480a4bd.tar.gz
Fixed compile warning
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1024 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ldap.c')
-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)