From 736b8d0a24d8b8680dc918a2a4502208bebe6056 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sun, 2 Jan 2000 01:56:01 +0000 Subject: [PATCH] Braced ldap_connect_to_path() in #ifdef LDAP_PF_LOCAL so as to compile without PF_LOCAL support. --- libraries/libldap/open.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5