From d14ebfc07026efeba6f01ebdf04f16bcd0fed5af Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 28 May 2008 01:48:41 +0000 Subject: [PATCH] ITS#5461 initialize rs->sr_tag, sr_msgid for Abandons too --- servers/slapd/result.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5