diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-12-10 21:18:01 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-12-10 21:18:01 +0000 |
commit | 68eb45b44bed432b699aceb64bc121389480a4bd (patch) | |
tree | da66fd1b5862b103a05be3c503cfe1a314057869 /plugins/check_ldap.c | |
parent | 1a8f9b94e5a58acb2e06d50524528da725e0f424 (diff) | |
download | monitoring-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.c | 5 |
1 files 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) |