From 3d5c387b3bcfdf30cb38228a5e258cf27d75a772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 27 Nov 2020 23:58:56 +0100 Subject: [PATCH] Minor cleanup --- Common/Net/HTTPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/Net/HTTPServer.cpp b/Common/Net/HTTPServer.cpp index c787c3f829..05456c3437 100644 --- a/Common/Net/HTTPServer.cpp +++ b/Common/Net/HTTPServer.cpp @@ -138,7 +138,7 @@ void Request::Close() { } Server::Server(NewThreadExecutor *executor) - : executor_(executor) { + : port_(0), executor_(executor) { RegisterHandler("/", std::bind(&Server::HandleListing, this, std::placeholders::_1)); SetFallbackHandler(std::bind(&Server::Handle404, this, std::placeholders::_1)); }