From a14fb731ac6e39cd037512ca63bcb021f0196e5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Tue, 10 Sep 2019 18:59:17 +0100 Subject: [PATCH] ITS#9076 Set oldctrls correctly --- servers/slapd/back-ldap/extended.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-ldap/extended.c b/servers/slapd/back-ldap/extended.c index ab9ddb8a6f..1fe65d3420 100644 --- a/servers/slapd/back-ldap/extended.c +++ b/servers/slapd/back-ldap/extended.c @@ -58,7 +58,7 @@ ldap_back_extended_one( Operation *op, SlapReply *rs, ldap_back_exop_f exop ) return -1; } - ctrls = op->o_ctrls; + ctrls = oldctrls = op->o_ctrls; if ( ldap_back_controls_add( op, rs, lc, &ctrls ) ) { op->o_ctrls = oldctrls;