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 | |
| 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')
| -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 @@ | |||
| 18 | 18 | ||
| 19 | ******************************************************************************/ | 19 | ******************************************************************************/ |
| 20 | 20 | ||
| 21 | const char *progname = "check_ldap"; | 21 | /* progname may be check_ldaps */ |
| 22 | char *progname = "check_ldap"; | ||
| 22 | const char *revision = "$Revision$"; | 23 | const char *revision = "$Revision$"; |
| 23 | const char *copyright = "2000-2004"; | 24 | const char *copyright = "2000-2004"; |
| 24 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 25 | const 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) |
