mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#5461 initialize rs->sr_tag, sr_msgid for Abandons too
This commit is contained in:
parent
61a70b4f96
commit
d14ebfc070
@ -627,10 +627,10 @@ slap_send_ldap_result( Operation *op, SlapReply *rs )
|
||||
rs->sr_ref = NULL;
|
||||
}
|
||||
|
||||
abandon:
|
||||
rs->sr_tag = slap_req2res( op->o_tag );
|
||||
rs->sr_msgid = (rs->sr_tag != LBER_SEQUENCE) ? op->o_msgid : 0;
|
||||
|
||||
abandon:
|
||||
if ( rs->sr_flags & REP_REF_MUSTBEFREED ) {
|
||||
if ( rs->sr_ref == NULL ) {
|
||||
rs->sr_flags ^= REP_REF_MUSTBEFREED;
|
||||
|
Loading…
Reference in New Issue
Block a user