From 2375feee3d81b692116f078b41df8b19aecd6e68 Mon Sep 17 00:00:00 2001 From: Matthias Eble Date: Sun, 6 Jan 2008 00:10:49 +0000 Subject: 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 diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 6a46ff1..5541e5c 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c @@ -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; -- cgit v0.10-9-g596f