]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: adjust indentation in bidir STREAM handling function
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 25 Feb 2022 16:29:10 +0000 (17:29 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 1 Mar 2022 09:52:31 +0000 (10:52 +0100)
Fix indentation in qc_handle_bidi_strm_frm in if condition.

src/xprt_quic.c

index 6f9284986812b80b3a617e8c08cd2f80f7f8b017..084afaeffb488ccfbdd42b20d758cc255eb1a11c 100644 (file)
@@ -2110,9 +2110,8 @@ static int qc_handle_bidi_strm_frm(struct quic_rx_packet *pkt,
        if (strm_frm->offset.key == strm->rx.offset) {
                int ret;
 
-               if (!qc_get_buf(strm, &strm->rx.buf)) {
-                   goto store_frm;
-               }
+               if (!qc_get_buf(strm, &strm->rx.buf))
+                       goto store_frm;
 
                ret = qc_strm_cpy(&strm->rx.buf, strm_frm);
                total += ret;