diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-04-29 13:10:06 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-04-29 13:10:06 +0200 |
commit | 2b9e988dd563d66a8a341a359d17c51032cbca40 (patch) | |
tree | 000f0ba47147dd6ef649abfab57220b06f361f83 /interface.c | |
parent | b6af7a9cf93cb1f1dd433328cc1d9b6b82447e74 (diff) | |
download | vdr-2b9e988dd563d66a8a341a359d17c51032cbca40.tar.gz vdr-2b9e988dd563d66a8a341a359d17c51032cbca40.tar.bz2 |
The SVDRP port now accepts multiple concurrent connections
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/interface.c b/interface.c index 6bf7ffce..dcb766ca 100644 --- a/interface.c +++ b/interface.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: interface.c 3.1 2015/01/11 13:37:47 kls Exp $ + * $Id: interface.c 4.1 2015/04/28 11:16:06 kls Exp $ */ #include "interface.h" @@ -19,27 +19,19 @@ cInterface *Interface = NULL; -cInterface::cInterface(int SVDRPport) +cInterface::cInterface(void) { interrupted = false; - SVDRP = NULL; - if (SVDRPport) - SVDRP = new cSVDRP(SVDRPport); } cInterface::~cInterface() { - delete SVDRP; } eKeys cInterface::GetKey(bool Wait) { if (!cRemote::HasKeys()) Skins.Flush(); - if (SVDRP) { - if (SVDRP->Process()) - Wait = false; - } if (!cRemote::IsLearning()) return cRemote::Get(Wait ? 1000 : 10); else |