From: Ton Voon Date: Fri, 10 Dec 2004 21:18:01 +0000 (+0000) Subject: Fixed compile warning X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=68eb45b44bed432b699aceb64bc121389480a4bd;p=nagiosplug.git Fixed compile warning git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1024 f882894a-f735-0410-b71e-b25c423dba1c --- 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 @@ ******************************************************************************/ -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)