diff src/event/quic/ngx_event_quic_transport.c @ 9015:a2fbae359828 quic

QUIC: fixed indentation.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 16 Feb 2022 15:45:47 +0300
parents 430755fcdb61
children a26897674420
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_transport.c	Mon Feb 14 14:54:34 2022 +0300
+++ b/src/event/quic/ngx_event_quic_transport.c	Wed Feb 16 15:45:47 2022 +0300
@@ -588,7 +588,7 @@
 
     /* flags, version, dcid and scid with lengths and zero-length token */
     len = 5 + 2 + pkt->dcid.len + pkt->scid.len
-           + (pkt->level == ssl_encryption_initial ? 1 : 0);
+          + (pkt->level == ssl_encryption_initial ? 1 : 0);
 
     if (len > pkt_len) {
         return 0;
@@ -1052,7 +1052,7 @@
             goto error;
         }
 
-        p = ngx_quic_parse_int(p, end,  &f->u.max_stream_data.limit);
+        p = ngx_quic_parse_int(p, end, &f->u.max_stream_data.limit);
         if (p == NULL) {
             goto error;
         }
@@ -1555,7 +1555,7 @@
     u_char      *start;
     ngx_uint_t   type;
 
-    type = ms->bidi ?  NGX_QUIC_FT_MAX_STREAMS : NGX_QUIC_FT_MAX_STREAMS2;
+    type = ms->bidi ? NGX_QUIC_FT_MAX_STREAMS : NGX_QUIC_FT_MAX_STREAMS2;
 
     if (p == NULL) {
         len = ngx_quic_varint_len(type);