]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MEDIUM: quic: Fix build.
authorOlivier Houchard <cognet@ci0.org>
Fri, 19 Mar 2021 19:09:22 +0000 (20:09 +0100)
committerOlivier Houchard <cognet@ci0.org>
Fri, 19 Mar 2021 19:09:22 +0000 (20:09 +0100)
Put the ) at the right place.

This should fix github issue #1190.

src/quic_sock.c

index 27d7578a9a23696e03925cdd9f0a0ba869f49419..56e7ee220bdf0d42dc535205f330d5291b2a24a3 100644 (file)
@@ -57,7 +57,7 @@ int quic_session_accept(struct connection *cli_conn)
                        goto out_free_conn;
        }
 
-       if (conn_xprt_start(cli_conn < 0))
+       if (conn_xprt_start(cli_conn) < 0)
                goto out_free_conn;
 
        sess = session_new(p, l, &cli_conn->obj_type);