summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2018-02-25 13:57:21 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2018-02-25 13:57:21 +0100
commite4af94d3f938fdbae91d010c8120794d4558b83f (patch)
tree6e72ae339ed3c97b73b0bef7c3b353e16b6c0b93 /vdr.c
parentbf497f4aae5f78076a24ed4d9c0a79c2f824d63b (diff)
downloadvdr-e4af94d3f938fdbae91d010c8120794d4558b83f.tar.gz
vdr-e4af94d3f938fdbae91d010c8120794d4558b83f.tar.bz2
Combined Start/StopSVDRPServer/ClientHandler() into Start/StopSVDRPHandler()
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/vdr.c b/vdr.c
index 1e012a2e..54207ce1 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.tvdr.de
*
- * $Id: vdr.c 4.22 2018/02/25 13:07:09 kls Exp $
+ * $Id: vdr.c 4.23 2018/02/25 13:45:24 kls Exp $
*/
#include <getopt.h>
@@ -946,9 +946,7 @@ int main(int argc, char *argv[])
// SVDRP:
SetSVDRPPorts(SVDRPport, DEFAULTSVDRPPORT);
- StartSVDRPServerHandler();
- if (Setup.SVDRPPeering)
- StartSVDRPClientHandler();
+ StartSVDRPHandler();
// Main program loop:
@@ -1562,8 +1560,7 @@ Exit:
signal(SIGPIPE, SIG_DFL);
signal(SIGALRM, SIG_DFL);
- StopSVDRPClientHandler();
- StopSVDRPServerHandler();
+ StopSVDRPHandler();
ChannelCamRelations.Save();
cRecordControls::Shutdown();
PluginManager.StopPlugins();