Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP server: handle rtsp_start() return code correctly
  • Loading branch information
perexg committed Nov 29, 2015
1 parent a4b2cf3 commit fbcd414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/satip/rtsp.c
Expand Up @@ -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) {
Expand Down

0 comments on commit fbcd414

Please sign in to comment.