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; } }