Skip to content
Snippets Groups Projects
Commit af5ac6d7 authored by Howard Chu's avatar Howard Chu
Browse files

Fix ITS#1697, pass NULL for hostless URLs

parent 393fe634
No related branches found
No related tags found
No related merge requests found
......@@ -928,7 +928,7 @@ ldap_url_search( LDAP *ld, LDAP_CONST char *url, int attrsonly )
bind.ri_url = (char *)url;
err = ldap_send_server_request(
ld, ber, ld->ld_msgid, NULL,
ludp, NULL, &bind );
ludp->lud_host ? ludp : NULL, NULL, &bind );
}
ldap_free_urldesc( ludp );
......
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