mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
If unspecified set LDAP_OPT_SUCCESS to LDAP_SUCCESS (Sergei Haramundanis - #1498923)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1888 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
b5d3997aa3
commit
2375feee3d
1 changed files with 3 additions and 0 deletions
|
|
@ -67,6 +67,9 @@ int ld_port = DEFAULT_PORT;
|
|||
#ifdef HAVE_LDAP_SET_OPTION
|
||||
int ld_protocol = DEFAULT_PROTOCOL;
|
||||
#endif
|
||||
#ifndef LDAP_OPT_SUCCESS
|
||||
# define LDAP_OPT_SUCCESS LDAP_SUCCESS
|
||||
#endif
|
||||
double warn_time = UNDEFINED;
|
||||
double crit_time = UNDEFINED;
|
||||
struct timeval tv;
|
||||
|
|
|
|||
Loading…
Reference in a new issue