SF.net SVN: nagiosplug: [1888] nagiosplug/trunk/plugins/check_ldap.c

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
Revision: 1888
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1888&view=rev
Author:   psychotrahe
Date:     2008-01-05 16:10:49 -0800 (Sat, 05 Jan 2008)

Log Message:
-----------
If unspecified set LDAP_OPT_SUCCESS to LDAP_SUCCESS (Sergei Haramundanis - #1498923)

Modified Paths:
--------------
    nagiosplug/trunk/plugins/check_ldap.c

Modified: nagiosplug/trunk/plugins/check_ldap.c
===================================================================
--- nagiosplug/trunk/plugins/check_ldap.c	2008-01-05 14:09:29 UTC (rev 1887)
+++ nagiosplug/trunk/plugins/check_ldap.c	2008-01-06 00:10:49 UTC (rev 1888)
@@ -67,6 +67,9 @@
 #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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.