From d50e750e13f5a8f615da56ee73ddbd1a23007ebe Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Wed, 30 Nov 2022 08:01:39 +0000 Subject: [PATCH] QUIC: Style fixes Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/19703) --- ssl/quic/quic_impl.c | 1 + ssl/quic/quic_reactor.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index 172edb473a6..9dab1a92748 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -1023,6 +1023,7 @@ static int quic_read_actual(QUIC_CONNECTION *qc, * the peer). */ OSSL_RTT_INFO rtt_info; + ossl_statm_get_rtt_info(ossl_quic_channel_get_statm(qc->ch), &rtt_info); if (!ossl_quic_rxfc_on_retire(&qc->stream0->rxfc, *bytes_read, diff --git a/ssl/quic/quic_reactor.c b/ssl/quic/quic_reactor.c index ed5c7955dbe..47255f61edb 100644 --- a/ssl/quic/quic_reactor.c +++ b/ssl/quic/quic_reactor.c @@ -131,14 +131,14 @@ static int poll_two_fds(int rfd, int rfd_want_read, struct timeval tv, *ptv; int maxfd, pres; -#ifndef OSSL_SYS_WINDOWS +# ifndef OSSL_SYS_WINDOWS /* * On Windows there is no relevant limit to the magnitude of a fd value (see * above). On *NIX the fd_set uses a bitmap and we must check the limit. */ if (rfd >= FD_SETSIZE || wfd >= FD_SETSIZE) return 0; -#endif +# endif FD_ZERO(&rfd_set); FD_ZERO(&wfd_set); -- 2.47.2