mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-19 02:28:47 -05:00
Fix ITS#1697, pass NULL for hostless URLs
This commit is contained in:
parent
393fe63451
commit
af5ac6d775
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue