summaryrefslogtreecommitdiffstats
path: root/src/RemoteControl.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-18 19:15:15 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-18 19:15:15 +0100
commite5cc1bbe0045ed027bd0497a3e82e2de508b1bd0 (patch)
tree3b7dd6b40be2bca1a63eabb278c10e1f17c13c3f /src/RemoteControl.h
parent4bf51d695e9193f9b39cfca469df22fcded0f800 (diff)
downloaddabmux-e5cc1bbe0045ed027bd0497a3e82e2de508b1bd0.tar.gz
dabmux-e5cc1bbe0045ed027bd0497a3e82e2de508b1bd0.tar.bz2
dabmux-e5cc1bbe0045ed027bd0497a3e82e2de508b1bd0.zip
Fix faulty RemoteControl initialisation
Diffstat (limited to 'src/RemoteControl.h')
-rw-r--r--src/RemoteControl.h6
1 files 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;