httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1150158 - /httpd/httpd/branches/revert-ap-ldap/include/util_ldap.h
Date Sat, 23 Jul 2011 17:04:58 GMT
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"



Mime
View raw message