From 5e92a58134a22cd0226a2006062d7ce956a6723b Mon Sep 17 00:00:00 2001 From: dongresource Date: Thu, 17 Oct 2024 00:21:19 +0200 Subject: [PATCH] Print server types when starting servers Should have done this back when I added serverType. --- src/core/CNProtocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/CNProtocol.cpp b/src/core/CNProtocol.cpp index 6b120fb..c96916d 100644 --- a/src/core/CNProtocol.cpp +++ b/src/core/CNProtocol.cpp @@ -428,7 +428,7 @@ void CNServer::removePollFD(int fd) { } void CNServer::start() { - std::cout << "Starting server at *:" << port << std::endl; + std::cout << "Starting " << serverType << " server at *:" << port << std::endl; while (active) { // the timeout is to ensure shard timers are ticking int n = poll(fds.data(), fds.size(), 50);