[PATCH] QUIC: style

Sergey Kandaurov pluknet at nginx.com
Tue Mar 28 13:48:39 UTC 2023


> On 28 Mar 2023, at 17:36, Roman Arutyunyan <arut at nginx.com> wrote:
> 
> # HG changeset patch
> # User Roman Arutyunyan <arut at 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


More information about the nginx-devel mailing list