]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Don't try to decode commands at debug level 2 -- leave it to level 3.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Sat, 12 Feb 2022 13:39:19 +0000 (13:39 +0000)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Sat, 12 Feb 2022 13:39:19 +0000 (13:39 +0000)
rtsp.c

diff --git a/rtsp.c b/rtsp.c
index b8d5ad18947e9cf555d922f334bf5fc683c0501c..444a659416b9e0773caa2808826187080b3ac606 100644 (file)
--- a/rtsp.c
+++ b/rtsp.c
@@ -2271,7 +2271,7 @@ void handle_feedback(__attribute__((unused)) rtsp_conn_info *conn,
 
 void handle_command(__attribute__((unused)) rtsp_conn_info *conn, rtsp_message *req,
                     __attribute__((unused)) rtsp_message *resp) {
-  debug_log_rtsp_message(2, "POST /command", req);
+  debug_log_rtsp_message(3, "POST /command", req);
   if (rtsp_message_contains_plist(req)) {
     plist_t command_dict = NULL;
     plist_from_memory(req->content, req->contentlength, &command_dict);
@@ -2305,7 +2305,7 @@ void handle_command(__attribute__((unused)) rtsp_conn_info *conn, rtsp_message *
                     if (subsidiary_plist) {
                       char *printable_plist = plist_content(subsidiary_plist);
                       if (printable_plist) {
-                        debug(2, "\n%s", printable_plist);
+                        debug(3, "\n%s", printable_plist);
                         free(printable_plist);
                       } else {
                         debug(1, "Can't print the plist!");