From 2330f690823e53da8ddd68375c21885d399189e2 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Thu, 20 Aug 2020 06:10:13 +0100 Subject: [PATCH] add braces around possibly preprocesssor removed helper --- lib/core-net/vhost.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/core-net/vhost.c b/lib/core-net/vhost.c index cc6338f4b..c5c0fcd50 100644 --- a/lib/core-net/vhost.c +++ b/lib/core-net/vhost.c @@ -433,8 +433,9 @@ next: context->protocol_init_done = 1; #if defined(LWS_WITH_SERVER) - if (any) + if (any) { lws_tls_check_all_cert_lifetimes(context); + } #endif return 0;