aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-10-15 16:24:46 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-10-15 16:24:46 +0000
commit001a2d9b67f3bf685c5a2df6495b999cc3966acc (patch)
tree2af4b946be65efd05b3d57fba5c863274e526e0c /lib
parent95446f694beeacf978462bfe016066c1b0147beb (diff)
Fix LDAP compile error when LDAP is not available.
Fixed a typo in the LDAP configure code and made sure NULL is defined in a test programs that need it.
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 549e640b3..e6b0d7f27 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -242,7 +242,7 @@ static const struct Curl_handler * const protocols[] = {
&Curl_handler_ldap,
#endif
-#if defined(HAVE_LDAP_SSL) && !defined(CURL_DISABLE_SSL)
+#if !defined(CURL_DISABLE_LDAP) && defined(HAVE_LDAP_SSL)
&Curl_handler_ldaps,
#endif