> On 28 Mar 2023, at 17:36, Roman Arutyunyan <arut@nginx.com> wrote:
>
> # HG changeset patch
> # User Roman Arutyunyan <arut@nginx.com>
> # Date 1678895835 -14400
> # Wed Mar 15 19:57:15 2023 +0400
> # Branch quic
> # Node ID 24daeb3703817af6fc17d7281fa06c7dc1c4f0a5
> # Parent 13d43a278510f131101c7b19d87455a0171ebe2f
> QUIC: style.
>
> diff --git a/src/event/quic/ngx_event_quic_transport.c b/src/event/quic/ngx_event_quic_transport.c
> --- a/src/event/quic/ngx_event_quic_transport.c
> +++ b/src/event/quic/ngx_event_quic_transport.c
> @@ -576,7 +576,7 @@ ngx_quic_payload_size(ngx_quic_header_t
> {
> size_t len;
>
> - if ngx_quic_short_pkt(pkt->flags) {
> + if (ngx_quic_short_pkt(pkt->flags)) {
>
> len = 1 + pkt->dcid.len + pkt->num_len + EVP_GCM_TLS_TAG_LEN;
> if (len > pkt_len) {
Looks good.
--
Sergey Kandaurov
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel