mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
Braced ldap_connect_to_path() in #ifdef LDAP_PF_LOCAL so as to compile
without PF_LOCAL support.
This commit is contained in:
parent
9b4e3b2234
commit
736b8d0a24
1 changed files with 2 additions and 0 deletions
|
|
@ -292,9 +292,11 @@ open_ldap_connection( LDAP *ld, Sockbuf *sb, LDAPURLDesc *srv,
|
|||
case LDAP_PROTO_UDP:
|
||||
rc = ldap_connect_to_host( ld, sb, srv->lud_host, addr, port, async );
|
||||
break;
|
||||
#ifdef LDAP_PF_LOCAL
|
||||
case LDAP_PROTO_LOCAL:
|
||||
rc = ldap_connect_to_path( ld, sb, srv->lud_host, async );
|
||||
break;
|
||||
#endif /* LDAP_PF_LOCAL */
|
||||
default:
|
||||
rc = -1;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue