From: Jaroslav Kysela Date: Sun, 29 Nov 2015 21:35:07 +0000 (+0100) Subject: SAT>IP server: handle rtsp_start() return code correctly X-Git-Tag: v4.2.1~1446 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fbcd414270794faae0ea47dbbc0730592971ebcf;p=thirdparty%2Ftvheadend.git SAT>IP server: handle rtsp_start() return code correctly --- diff --git a/src/satip/rtsp.c b/src/satip/rtsp.c index 88cc3afef..3f0d70adf 100644 --- a/src/satip/rtsp.c +++ b/src/satip/rtsp.c @@ -1335,7 +1335,7 @@ rtsp_process_play(http_connection_t *hc, int setup) } } - if ((errcode = rtsp_start(hc, rs, hc->hc_peer_ipstr, valid, setup, oldstate)) < 0) + if ((errcode = rtsp_start(hc, rs, hc->hc_peer_ipstr, valid, setup, oldstate)) != 0) goto error; if (setup) {