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

psychotrahe at users.sourceforge.net psychotrahe at users.sourceforge.net
Sun Jan 6 01:10:50 CET 2008


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.




More information about the Commits mailing list