From: Frédéric Lécaille Date: Fri, 20 May 2022 18:50:59 +0000 (+0200) Subject: BUG/MINOR: quic: Fixe a typo in qc_idle_timer_task() X-Git-Tag: v2.6-dev11~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad9895d133293a98335e4a8e93f1c56665695d8e;p=thirdparty%2Fhaproxy.git BUG/MINOR: quic: Fixe a typo in qc_idle_timer_task() The & operator was confused with | operator :-( --- diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 444b7acf7d..4a56e1eee5 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -4559,7 +4559,7 @@ static struct task *qc_idle_timer_task(struct task *t, void *ctx, unsigned int s * a TLS alert was received from the TLS stack, this counter * has already been decremented. */ - if (qc_state < QUIC_HS_ST_COMPLETE && !(qc_flags|QUIC_FL_CONN_TLS_ALERT)) + if (qc_state < QUIC_HS_ST_COMPLETE && !(qc_flags & QUIC_FL_CONN_TLS_ALERT)) HA_ATOMIC_DEC(&prx_counters->conn_opening); return NULL;