From: Kurt Zeilenga Date: Wed, 28 Nov 2001 16:49:46 +0000 (+0000) Subject: ITS#1429 url search fix X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~815 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bfe4dc289aad9d87158d86912dafb5cc4bfc470c;p=openldap ITS#1429 url search fix --- diff --git a/libraries/libldap/url.c b/libraries/libldap/url.c index 5dc0b7038f..851f2494c5 100644 --- a/libraries/libldap/url.c +++ b/libraries/libldap/url.c @@ -156,10 +156,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 ) { @@ -1115,7 +1115,6 @@ ldap_free_urldesc( LDAPURLDesc *ludp ) } - int ldap_url_search( LDAP *ld, LDAP_CONST char *url, int attrsonly ) { @@ -1150,7 +1149,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 );