mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +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 );
|
||||
}
|
||||
|
||||
if ( rres != LDAP_SUCCESS ) {
|
||||
rs->sr_err = rres;
|
||||
}
|
||||
rs->sr_matched = mmatch.bv_val;
|
||||
send_ldap_result( op, rs );
|
||||
rs->sr_matched = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user