Issue #6728 - QUIC and HTTP/3

- use proper constant
This commit is contained in:
Ludovic Orban 2021-11-08 18:04:15 +01:00 committed by Simone Bordet
parent 7df5bbc61b
commit d90ce8327b
1 changed files with 1 additions and 1 deletions

View File

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