Service mode flag as argument in start function of Server

This commit is contained in:
ParkSuMin committed 2025-04-30 21:36:32 +03:00
1 parent f0c7bb3f18
commit 4402bbfe3f
3 files changed
+10 -11

No files matched your search

+2 -2
View File
@@ -31,8 +31,8 @@ int main(int argc, char **argv) {
}
try {
Server server(host, port, service_mode);
server.start(steps);
Server server(host, port);
server.start(steps, service_mode);
} catch (const std::runtime_error& e){
std::cerr << "Server application error: " << e.what() << std::endl;
return 1;