summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/vdrmanagerthread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vdr-vdrmanager/vdrmanagerthread.cpp')
-rw-r--r--vdr-vdrmanager/vdrmanagerthread.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/vdr-vdrmanager/vdrmanagerthread.cpp b/vdr-vdrmanager/vdrmanagerthread.cpp
index fc72cf1..7c72444 100644
--- a/vdr-vdrmanager/vdrmanagerthread.cpp
+++ b/vdr-vdrmanager/vdrmanagerthread.cpp
@@ -8,11 +8,12 @@
#include "select.h"
#include "helpers.h"
-cAndroVdrThread::cAndroVdrThread(int port, const char * password)
+cAndroVdrThread::cAndroVdrThread(int port, const char * password, bool forceCheckSvdrp)
{
select = NULL;
this->port = port;
this->password = password;
+ this->forceCheckSvdrp = forceCheckSvdrp;
}
cAndroVdrThread::~cAndroVdrThread()
@@ -42,7 +43,7 @@ bool cAndroVdrThread::Init()
// create server socket
cVdrmanagerServerSocket * sock = new cVdrmanagerServerSocket();
- if (sock == NULL || !sock->Create(port, password))
+ if (sock == NULL || !sock->Create(port, password, forceCheckSvdrp))
return false;
// register server socket