Braced ldap_connect_to_path() in #ifdef LDAP_PF_LOCAL so as to compile

without PF_LOCAL support.
This commit is contained in:
Luke Howard 2000-01-02 01:56:01 +00:00
parent 9b4e3b2234
commit 736b8d0a24

View file

@ -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;