Minor cleanup

This commit is contained in:
Henrik Rydgård committed 2021-06-12 13:03:53 +02:00
1 parent 8ac06eed12
commit 3d5c387b3b
1 file changed
+1 -1
+1 -1
View File
@@ -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));
}