From: Willy Tarreau Date: Sat, 4 Jul 2020 05:16:18 +0000 (+0200) Subject: BUILD: mux-h2: fix typo breaking build when using DEBUG_LOCK X-Git-Tag: v2.2.0~24 X-Git-Url: http://git.haproxy.org/?a=commitdiff_plain;h=46ac78177987aa284c61f06aae02577d2c078d92;p=haproxy-2.3.git BUILD: mux-h2: fix typo breaking build when using DEBUG_LOCK A typo was accidently introduced in commit 48ce6a3 ("BUG/MEDIUM: muxes: Make sure nobody stole the connection before using it."), a "&" was placed in front of "OTHER_LOCK", which breaks DEBUG_LOCK. No backport is needed. --- diff --git a/src/mux_h2.c b/src/mux_h2.c index 08120e9..beaf1a1 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -3714,7 +3714,7 @@ static struct task *h2_timeout_task(struct task *t, void *context, unsigned shor */ if (!t->context) { h2c = NULL; - HA_SPIN_UNLOCK(&OTHER_LOCK, &idle_conns[tid].takeover_lock); + HA_SPIN_UNLOCK(OTHER_LOCK, &idle_conns[tid].takeover_lock); goto do_leave; }