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

Always return ld->ld_errno thru *errcodep if given to ldap_parse_result

parent a517e5b9
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
......
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