mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-22 22:56:58 -04:00
Fixed compile warning
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1024 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
1a8f9b94e5
commit
68eb45b44b
1 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue