From 68eb45b44bed432b699aceb64bc121389480a4bd Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Fri, 10 Dec 2004 21:18:01 +0000 Subject: Fixed compile warning git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1024 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_ldap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 29bc01b2..582c9564 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c @@ -18,7 +18,8 @@ ******************************************************************************/ -const char *progname = "check_ldap"; +/* progname may be check_ldaps */ +char *progname = "check_ldap"; const char *revision = "$Revision$"; const char *copyright = "2000-2004"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; @@ -84,7 +85,7 @@ main (int argc, char *argv[]) textdomain (PACKAGE); if (strstr(argv[0],"check_ldaps")) { - asprintf (&progname, "check_ldaps"); + asprintf (&progname, "check_ldaps"); } if (process_arguments (argc, argv) == ERROR) -- cgit v1.2.3