From 001a2d9b67f3bf685c5a2df6495b999cc3966acc Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 15 Oct 2007 16:24:46 +0000 Subject: 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. --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3