mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
return error code only if required (ITS#3042)
This commit is contained in:
parent
e1fc5012bd
commit
58c637479d
@ -258,7 +258,9 @@ finish:;
|
|||||||
ldap_back_dn_massage( &dc, &matched, &mmatch );
|
ldap_back_dn_massage( &dc, &matched, &mmatch );
|
||||||
}
|
}
|
||||||
|
|
||||||
rs->sr_err = rres;
|
if ( rres != LDAP_SUCCESS ) {
|
||||||
|
rs->sr_err = rres;
|
||||||
|
}
|
||||||
rs->sr_matched = mmatch.bv_val;
|
rs->sr_matched = mmatch.bv_val;
|
||||||
send_ldap_result( op, rs );
|
send_ldap_result( op, rs );
|
||||||
rs->sr_matched = NULL;
|
rs->sr_matched = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user