mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 01:58:33 -05:00
Fix #undef LDAP_CONNECTIONLESS builds
This commit is contained in:
parent
c0dbaa736d
commit
d397f6aa2f
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue