mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-19 02:28:47 -05:00
URL search fix
This commit is contained in:
parent
51bc4ce941
commit
83f81d512f
1 changed files with 5 additions and 6 deletions
|
|
@ -132,10 +132,10 @@ skip_url_prefix(
|
|||
int *enclosedp,
|
||||
const char **scheme )
|
||||
{
|
||||
/*
|
||||
* return non-zero if this looks like a LDAP URL; zero if not
|
||||
* if non-zero returned, *urlp will be moved past "ldap://" part of URL
|
||||
*/
|
||||
/*
|
||||
* return non-zero if this looks like a LDAP URL; zero if not
|
||||
* if non-zero returned, *urlp will be moved past "ldap://" part of URL
|
||||
*/
|
||||
const char *p;
|
||||
|
||||
if ( url == NULL ) {
|
||||
|
|
@ -894,7 +894,6 @@ ldap_free_urldesc( LDAPURLDesc *ludp )
|
|||
}
|
||||
|
||||
|
||||
|
||||
int
|
||||
ldap_url_search( LDAP *ld, LDAP_CONST char *url, int attrsonly )
|
||||
{
|
||||
|
|
@ -929,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,
|
||||
NULL, NULL, &bind );
|
||||
ludp, NULL, &bind );
|
||||
}
|
||||
|
||||
ldap_free_urldesc( ludp );
|
||||
|
|
|
|||
Loading…
Reference in a new issue