Skip to content
Snippets Groups Projects
Commit 736b8d0a authored by Luke Howard's avatar Luke Howard
Browse files

Braced ldap_connect_to_path() in #ifdef LDAP_PF_LOCAL so as to compile
without PF_LOCAL support.
parent 9b4e3b22
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment