]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fix a bug that prevented Shairport Sync being added to Home.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Sun, 17 Sep 2023 13:30:02 +0000 (14:30 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Sun, 17 Sep 2023 13:30:02 +0000 (14:30 +0100)
rtsp.c

diff --git a/rtsp.c b/rtsp.c
index 64c3c3bfdfa445297174f8a8a6f9dc44bc9e22bf..732bb93e2111aaa8e16d90c472b8fcf4edfa5da0 100644 (file)
--- a/rtsp.c
+++ b/rtsp.c
@@ -3144,8 +3144,8 @@ void handle_setup_2(rtsp_conn_info *conn, rtsp_message *req, rtsp_message *resp)
           cancel_all_RTSP_threads(
               remote_control_stream,
               conn->connection_number); // kill all the other remote control listeners
-          resp->respcode = 200;
           */
+          resp->respcode = 200;
         } else {
           debug(1, "SETUP on Connection %d: an unrecognised \"%s\" setup detected.",
                 conn->connection_number, timingProtocolString);