]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
clang format only
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Thu, 2 Dec 2021 11:19:52 +0000 (11:19 +0000)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Thu, 2 Dec 2021 11:19:52 +0000 (11:19 +0000)
player.c
rtsp.c

index 257d2ee82438fa37bcf26700a02022a0f13b8864..36c7aabf675d4d651eba57fdb8fe55c550001df3 100644 (file)
--- a/player.c
+++ b/player.c
@@ -1169,8 +1169,8 @@ static abuf_t *buffer_get_frame(rtsp_conn_info *conn) {
                             command_execute(config.cmd_unfixable, "output_device_stalled", 1);
                           } else {
                             die("an unrecoverable error, \"output_device_stalled\", has been "
-                                 "detected.",
-                                 conn->connection_number);
+                                "detected.",
+                                conn->connection_number);
                           }
                         }
                       } else {
diff --git a/rtsp.c b/rtsp.c
index ba03359f2725837302c2a4070a455cacb9119b5f..45efd8cf7a4714c0cae2f21a02c347c0122fcf45 100644 (file)
--- a/rtsp.c
+++ b/rtsp.c
@@ -612,7 +612,7 @@ void *player_watchdog_thread_code(void *arg) {
               command_execute(config.cmd_unfixable, "unable_to_cancel_play_session", 1);
             } else {
               die("an unrecoverable error, \"unable_to_cancel_play_session\", has been detected.",
-                   conn->connection_number);
+                  conn->connection_number);
             }
           }
         }
@@ -2291,8 +2291,8 @@ void handle_setpeers(rtsp_conn_info *conn, rtsp_message *req, rtsp_message *resp
     conn->ap2_timing_peer_list_message = strdup(timing_list_message);
     // if this rtsp thread is playing...
     // if (try_to_hold_play_lock(conn) == 0) {
-      ptp_send_control_message_string(conn->ap2_timing_peer_list_message);
-      // release_hold_on_play_lock(conn);
+    ptp_send_control_message_string(conn->ap2_timing_peer_list_message);
+    // release_hold_on_play_lock(conn);
     // }
   }
   plist_free(addresses_array);