From 29427cc3949628b505dbc9c8934509fd73e4e0db Mon Sep 17 00:00:00 2001 From: Jonas Zeunert Date: Thu, 11 Jul 2019 23:31:45 +0200 Subject: [PATCH] changed copy paste error --- FlippR-Driver/networking/FlippRServer.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/FlippR-Driver/networking/FlippRServer.cpp b/FlippR-Driver/networking/FlippRServer.cpp index 2fc5f75..a630ef3 100644 --- a/FlippR-Driver/networking/FlippRServer.cpp +++ b/FlippR-Driver/networking/FlippRServer.cpp @@ -170,9 +170,8 @@ int FlippRServer::main(const std::vector& args) HTTPServer* FlippRServer::build_output_server() { - unsigned short port = (unsigned short) config().getInt("HTTPTimeServer.port", this->output_port); + unsigned short port = (unsigned short) config().getInt("FlippRServer.port", this->output_port); - // todo XDG_RUNTIME_DIR std::string runtime_dir = this->get_runtime_dir(); SocketAddress address(runtime_dir + SOCKET_NAME); @@ -183,9 +182,8 @@ HTTPServer* FlippRServer::build_output_server() TCPServer* FlippRServer::build_input_server() { - unsigned short port = (unsigned short) config().getInt("HTTPTimeServer.port", this->output_port); + unsigned short port = (unsigned short) config().getInt("FlippRServer.port", this->output_port); - //TODO adapt path std::string runtime_dir = this->get_runtime_dir(); SocketAddress address(runtime_dir + SOCKET_NAME); ServerSocket server_socket(address);