From: Amaury Denoyelle Date: Tue, 27 Sep 2022 08:35:29 +0000 (+0200) Subject: CLEANUP: quic: fix indentation X-Git-Tag: v2.7-dev8~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90121b3321512a74df1a5349c0f99fa2ccd0c017;p=thirdparty%2Fhaproxy.git CLEANUP: quic: fix indentation Fix some indentation in qc_lstnr_pkt_rcv(). This should be backported up to 2.6. --- diff --git a/src/quic_conn.c b/src/quic_conn.c index bc86095839..34809c35ef 100644 --- a/src/quic_conn.c +++ b/src/quic_conn.c @@ -5922,10 +5922,10 @@ static void qc_lstnr_pkt_rcv(unsigned char *buf, const unsigned char *end, if (global.cluster_secret && !token_len) { if (l->bind_conf->options & BC_O_QUIC_FORCE_RETRY) { TRACE_PROTO("Initial without token, sending retry", - QUIC_EV_CONN_LPKT, NULL, NULL, NULL, qv); + QUIC_EV_CONN_LPKT, NULL, NULL, NULL, qv); if (send_retry(l->rx.fd, &dgram->saddr, pkt, qv)) { TRACE_PROTO("Error during Retry generation", - QUIC_EV_CONN_LPKT, NULL, NULL, NULL, qv); + QUIC_EV_CONN_LPKT, NULL, NULL, NULL, qv); goto err; } @@ -5971,10 +5971,10 @@ static void qc_lstnr_pkt_rcv(unsigned char *buf, const unsigned char *end, if (*pkt->token == QUIC_TOKEN_FMT_RETRY) { const struct quic_version *ver = qc ? qc->original_version : qv; if (!quic_retry_token_check(pkt->token, pkt->token_len, ver, &odcid, - &pkt->scid, qc, &dgram->saddr)) { + &pkt->scid, qc, &dgram->saddr)) { HA_ATOMIC_INC(&prx_counters->retry_error); TRACE_PROTO("Wrong retry token", - QUIC_EV_CONN_LPKT, qc, NULL, NULL, qv); + QUIC_EV_CONN_LPKT, qc, NULL, NULL, qv); /* TODO: RFC 9000 8.1.2 A server SHOULD immediately close the connection * with an INVALID_TOKEN error. */