From: Luke Howard Date: Sun, 2 Jan 2000 01:56:01 +0000 (+0000) Subject: Braced ldap_connect_to_path() in #ifdef LDAP_PF_LOCAL so as to compile X-Git-Tag: UCDATA_2_4~53 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=736b8d0a24d8b8680dc918a2a4502208bebe6056;p=openldap Braced ldap_connect_to_path() in #ifdef LDAP_PF_LOCAL so as to compile without PF_LOCAL support. --- diff --git a/libraries/libldap/open.c b/libraries/libldap/open.c index 462b60b394..2ed9021b00 100644 --- a/libraries/libldap/open.c +++ b/libraries/libldap/open.c @@ -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;