From cf38d96543b2086a863ef4823ee769ec45cc45a4 Mon Sep 17 00:00:00 2001 From: zousar <2936246+zousar@users.noreply.github.com> Date: Thu, 27 Jan 2022 01:01:05 -0700 Subject: Handle HTTP port collisions when initializing server (#40) --- zenhttp/httpnull.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zenhttp/httpnull.cpp') diff --git a/zenhttp/httpnull.cpp b/zenhttp/httpnull.cpp index 31b13a6ce..a6e1d3567 100644 --- a/zenhttp/httpnull.cpp +++ b/zenhttp/httpnull.cpp @@ -24,10 +24,10 @@ HttpNullServer::RegisterService(HttpService& Service) ZEN_UNUSED(Service); } -void +int HttpNullServer::Initialize(int BasePort) { - ZEN_UNUSED(BasePort); + return BasePort; } void -- cgit v1.2.3