]> git.sur5r.net Git - openldap/commitdiff
Braced ldap_connect_to_path() in #ifdef LDAP_PF_LOCAL so as to compile
authorLuke Howard <lukeh@openldap.org>
Sun, 2 Jan 2000 01:56:01 +0000 (01:56 +0000)
committerLuke Howard <lukeh@openldap.org>
Sun, 2 Jan 2000 01:56:01 +0000 (01:56 +0000)
without PF_LOCAL support.

libraries/libldap/open.c

index 462b60b39401c20da206e3b76fecfbb827c7d623..2ed9021b00fd13fe5465b9b362570ead821220f3 100644 (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;