From: Howard Chu Date: Wed, 28 May 2008 01:48:41 +0000 (+0000) Subject: ITS#5461 initialize rs->sr_tag, sr_msgid for Abandons too X-Git-Tag: LOCKER_IDS~137 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d14ebfc07026efeba6f01ebdf04f16bcd0fed5af;p=openldap ITS#5461 initialize rs->sr_tag, sr_msgid for Abandons too --- diff --git a/servers/slapd/result.c b/servers/slapd/result.c index f81ca9f482..8b623bbaba 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -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;