diff options
author | schmirl <schmirl> | 2007-04-26 06:25:13 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2007-04-26 06:25:13 +0000 |
commit | 8378d5a17cc5ec14b2c1d0fa8804e014298d2e41 (patch) | |
tree | 9a266539380fc045dc63d3adcf826c586ee849d5 /server | |
parent | fdda49c9f3341913aa1f7497a3384f7dc24e06cc (diff) | |
download | vdr-plugin-streamdev-8378d5a17cc5ec14b2c1d0fa8804e014298d2e41.tar.gz vdr-plugin-streamdev-8378d5a17cc5ec14b2c1d0fa8804e014298d2e41.tar.bz2 |
Removed duplicated code fragments probably caused by patches with too
few context lines
Diffstat (limited to 'server')
-rw-r--r-- | server/connectionVTP.c | 8 |
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) |