From 3d2c1d3c24e40573e391040048ff734cd052c295 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 27 Oct 2015 05:44:22 +0300 Subject: protocol: tiny enum value names correction server: event subscription subsystem: a bit of implementation of repeated event type --- server/src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/src/main.cpp') diff --git a/server/src/main.cpp b/server/src/main.cpp index 214b6b5..5ca4422 100644 --- a/server/src/main.cpp +++ b/server/src/main.cpp @@ -75,6 +75,8 @@ void sig_handler(int sig) } } +boost::asio::io_service io_service_server; + extern "C" int main(int argc, char *argv[]) { //handle signals @@ -248,7 +250,6 @@ extern "C" int main(int argc, char *argv[]) { //TODO: fork here } - boost::asio::io_service io_service_server; try{ //TODO: server options ip address, interface name serv = new server(io_service_server, runtime_config, clients, downloads, runtime_config.config_file.get("server.port", 6613)); -- cgit v1.2.3