mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
make sure matched is NULL when err=SUCCESS (ITS#6774)
This commit is contained in:
parent
31199e1847
commit
fc6bd40dfc
1 changed files with 1 additions and 1 deletions
|
|
@ -1918,7 +1918,7 @@ free_message:;
|
|||
}
|
||||
|
||||
rs->sr_err = sres;
|
||||
rs->sr_matched = matched;
|
||||
rs->sr_matched = ( sres == LDAP_SUCCESS ? NULL : matched );
|
||||
rs->sr_ref = ( sres == LDAP_REFERRAL ? rs->sr_v2ref : NULL );
|
||||
send_ldap_result( op, rs );
|
||||
op->o_private = savepriv;
|
||||
|
|
|
|||
Loading…
Reference in a new issue