Minor fixups
authorHugo Landau <hlandau@openssl.org>
Thu, 13 Jul 2023 13:40:48 +0000 (14:40 +0100)
committerPauli <pauli@openssl.org>
Sun, 16 Jul 2023 22:18:05 +0000 (08:18 +1000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21135)

ssl/quic/quic_tserver.c

index c8970e4761d21dc5728a943bbdf3a45f2ed9ca2d..8dbe3da716d99c74e7f93056f282dea98dfb5438 100644 (file)
@@ -492,11 +492,11 @@ int ossl_quic_tserver_shutdown(QUIC_TSERVER *srv)
 
 int ossl_quic_tserver_ping(QUIC_TSERVER *srv)
 {
-   if (ossl_quic_channel_is_terminated(srv->ch))
-     return 0;
+    if (ossl_quic_channel_is_terminated(srv->ch))
+        return 0;
 
     if (!ossl_quic_channel_ping(srv->ch))
-      return 0;
+        return 0;
 
     ossl_quic_reactor_tick(ossl_quic_channel_get_reactor(srv->ch), 0);
     return 1;