summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/connectionVTP.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/server/connectionVTP.c b/server/connectionVTP.c
index 8336b64..1d8a2d8 100644
--- a/server/connectionVTP.c
+++ b/server/connectionVTP.c
@@ -1,5 +1,5 @@
/*
- * $Id: connectionVTP.c,v 1.12 2007/04/24 11:40:35 schmirl Exp $
+ * $Id: connectionVTP.c,v 1.13 2007/04/26 06:25:13 schmirl Exp $
*/
#include "server/connectionVTP.h"
@@ -683,10 +683,6 @@ bool cConnectionVTP::CmdPORT(char *Opts)
m_LiveStreamer->Stop();
delete m_LiveSocket;
- if(m_LiveSocket && m_LiveStreamer)
- m_LiveStreamer->Stop();
- delete m_LiveSocket;
-
m_LiveSocket = new cTBSocket(SOCK_STREAM);
if (!m_LiveSocket->Connect(dataip, dataport)) {
esyslog("ERROR: Streamdev: Couldn't open data connection to %s:%d: %s",
@@ -721,8 +717,6 @@ bool cConnectionVTP::CmdTUNE(char *Opts)
m_LiveStreamer->SetDevice(dev);
if(m_LiveSocket)
m_LiveStreamer->Start(m_LiveSocket);
- if(m_LiveSocket)
- m_LiveStreamer->Start(m_LiveSocket);
#if VDRVERSNUM >= 10300
if(!m_FilterStreamer)