From d90ce8327b5d674ceaca66591e10c85eee4fb5c6 Mon Sep 17 00:00:00 2001 From: Ludovic Orban Date: Mon, 8 Nov 2021 18:04:15 +0100 Subject: [PATCH] Issue #6728 - QUIC and HTTP/3 - use proper constant --- .../jetty/quic/quiche/panama/jdk/PanamaJdkQuicheConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-quic/quic-quiche/quic-quiche-panama-jdk/src/main/java/org/eclipse/jetty/quic/quiche/panama/jdk/PanamaJdkQuicheConnection.java b/jetty-quic/quic-quiche/quic-quiche-panama-jdk/src/main/java/org/eclipse/jetty/quic/quiche/panama/jdk/PanamaJdkQuicheConnection.java index ef3f5f2e5ba..cc8997c29bb 100644 --- a/jetty-quic/quic-quiche/quic-quiche-panama-jdk/src/main/java/org/eclipse/jetty/quic/quiche/panama/jdk/PanamaJdkQuicheConnection.java +++ b/jetty-quic/quic-quiche/quic-quiche-panama-jdk/src/main/java/org/eclipse/jetty/quic/quiche/panama/jdk/PanamaJdkQuicheConnection.java @@ -693,7 +693,7 @@ public class PanamaJdkQuicheConnection extends QuicheConnection { if (quicheConn == null) throw new IllegalStateException("connection was released"); - return quiche_h.quiche_conn_is_draining(quicheConn) != 0; + return quiche_h.quiche_conn_is_draining(quicheConn) != C_FALSE; } }