From 3e9e7f7de609520ddba024c1516b6c969ba894fb Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Mon, 23 Jun 2014 23:21:56 +0200 Subject: Setting streamer to NULL if TUNE fails should not be necessary --- server/connectionVTP.c | 1 - 1 file changed, 1 deletion(-) (limited to 'server') diff --git a/server/connectionVTP.c b/server/connectionVTP.c index 802748e..698d33c 100644 --- a/server/connectionVTP.c +++ b/server/connectionVTP.c @@ -1123,7 +1123,6 @@ bool cConnectionVTP::CmdTUNE(char *Opts) cStreamdevLiveStreamer* liveStreamer = new cStreamdevLiveStreamer(this, chan, prio, m_StreamType); if ((dev = liveStreamer->GetDevice()) == NULL) { - SetStreamer(NULL); delete liveStreamer; return Respond(560, "Channel not available (SwitchDevice)"); } -- cgit v1.2.3