mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
ITS#5461 initialize rs->sr_tag, sr_msgid for Abandons too
This commit is contained in:
parent
61a70b4f96
commit
d14ebfc070
1 changed files with 1 additions and 1 deletions
|
|
@ -627,10 +627,10 @@ slap_send_ldap_result( Operation *op, SlapReply *rs )
|
||||||
rs->sr_ref = NULL;
|
rs->sr_ref = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
abandon:
|
||||||
rs->sr_tag = slap_req2res( op->o_tag );
|
rs->sr_tag = slap_req2res( op->o_tag );
|
||||||
rs->sr_msgid = (rs->sr_tag != LBER_SEQUENCE) ? op->o_msgid : 0;
|
rs->sr_msgid = (rs->sr_tag != LBER_SEQUENCE) ? op->o_msgid : 0;
|
||||||
|
|
||||||
abandon:
|
|
||||||
if ( rs->sr_flags & REP_REF_MUSTBEFREED ) {
|
if ( rs->sr_flags & REP_REF_MUSTBEFREED ) {
|
||||||
if ( rs->sr_ref == NULL ) {
|
if ( rs->sr_ref == NULL ) {
|
||||||
rs->sr_flags ^= REP_REF_MUSTBEFREED;
|
rs->sr_flags ^= REP_REF_MUSTBEFREED;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue