mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Always return ld->ld_errno thru *errcodep if given to ldap_parse_result
This commit is contained in:
parent
a517e5b969
commit
70f31490a8
@ -325,10 +325,10 @@ ldap_parse_result(
|
||||
}
|
||||
|
||||
/* return */
|
||||
if( errcodep != NULL ) {
|
||||
*errcodep = ld->ld_errno;
|
||||
}
|
||||
if ( errcode == LDAP_SUCCESS ) {
|
||||
if( errcodep != NULL ) {
|
||||
*errcodep = ld->ld_errno;
|
||||
}
|
||||
if( matcheddnp != NULL ) {
|
||||
*matcheddnp = LDAP_STRDUP( ld->ld_matched );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user