You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2011/07/23 19:04:58 UTC

svn commit: r1150158 - /httpd/httpd/branches/revert-ap-ldap/include/util_ldap.h

Author: sf
Date: Sat Jul 23 17:04:57 2011
New Revision: 1150158

URL: http://svn.apache.org/viewvc?rev=1150158&view=rev
Log:
Revert r1143225:

    Removed define which is now in ap_ldap.h.


Modified:
    httpd/httpd/branches/revert-ap-ldap/include/util_ldap.h

Modified: httpd/httpd/branches/revert-ap-ldap/include/util_ldap.h
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/revert-ap-ldap/include/util_ldap.h?rev=1150158&r1=1150157&r2=1150158&view=diff
==============================================================================
--- httpd/httpd/branches/revert-ap-ldap/include/util_ldap.h (original)
+++ httpd/httpd/branches/revert-ap-ldap/include/util_ldap.h Sat Jul 23 17:04:57 2011
@@ -28,6 +28,12 @@
 #include "apr_thread_rwlock.h"
 #include "apr_tables.h"
 #include "apr_time.h"
+#if AP_HAS_MICROSOFT_LDAPSDK
+#define AP_LDAP_IS_SERVER_DOWN(s)                ((s) == LDAP_SERVER_DOWN \
+                ||(s) == LDAP_UNAVAILABLE)
+#else
+#define AP_LDAP_IS_SERVER_DOWN(s)                ((s) == LDAP_SERVER_DOWN)
+#endif
 
 #if APR_HAS_SHARED_MEMORY
 #include "apr_rmm.h"