From e5cc1bbe0045ed027bd0497a3e82e2de508b1bd0 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 18 Feb 2014 19:15:15 +0100 Subject: Fix faulty RemoteControl initialisation --- src/RemoteControl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/RemoteControl.h b/src/RemoteControl.h index c0fec8d..fc1fa34 100644 --- a/src/RemoteControl.h +++ b/src/RemoteControl.h @@ -138,13 +138,13 @@ class RemoteControllerTelnet : public BaseRemoteController { public: RemoteControllerTelnet() : m_running(false), m_fault(false), - m_port(0) {} + m_port(0) { } RemoteControllerTelnet(int port) - : m_running(false), m_fault(false), + : m_running(true), m_fault(false), m_port(port), m_child_thread(&RemoteControllerTelnet::process, this, 0) - {} + { } ~RemoteControllerTelnet() { m_running = false; -- cgit v1.2.3