From d397f6aa2fcc639356f105720b2d68c108097112 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 28 Sep 2001 20:09:49 +0000 Subject: [PATCH] Fix #undef LDAP_CONNECTIONLESS builds --- libraries/libldap/open.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/libldap/open.c b/libraries/libldap/open.c index fe69cdf246..2010e83026 100644 --- a/libraries/libldap/open.c +++ b/libraries/libldap/open.c @@ -236,8 +236,10 @@ ldap_initialize( LDAP **ldp, LDAP_CONST char *url ) ldap_ld_free(ld, 1, NULL, NULL); return rc; } +#ifdef LDAP_CONNECTIONLESS if (ldap_is_ldapc_url(url)) ld->ld_options.ldo_valid |= LDAP_UDP_SESSION; +#endif } *ldp = ld; -- 2.39.5