]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Quieten some debug messages.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Mon, 2 Dec 2024 10:59:29 +0000 (10:59 +0000)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Mon, 2 Dec 2024 10:59:29 +0000 (10:59 +0000)
rtsp.c

diff --git a/rtsp.c b/rtsp.c
index 7ed0378d5f19cea9636db34ecf409a6466a40cfc..3c2e0b0e1e26bbd8834535930e4fe6c4b7fd5a1c 100644 (file)
--- a/rtsp.c
+++ b/rtsp.c
@@ -1180,20 +1180,20 @@ ssize_t timed_read_from_rtsp_connection(rtsp_conn_info *conn, uint64_t wait_time
       } else {
         result = read(conn->fd, buf, count);
         if (result == 0) {
-          debug(1, "AP2 read result 0, for a request count of %u.", count);          
+          debug(3, "AP2 read result 0, for a request count of %u.", count);          
         }
       }
 #else
       result = read(conn->fd, buf, count);
       if (result == 0) {
-        debug(1, "AP1 read result 0, for a request count of %u.", count);
+        debug(3, "AP1 read result 0, for a request count of %u.", count);
         
       }
 #endif
       if ((result == 0) && (errno != 0)) {
         char errorstring[1024];
         strerror_r(errno, (char *)errorstring, sizeof(errorstring));
-        debug(1, "Connection %d: read result 0, error %d: \"%s\".",
+        debug(2, "Connection %d: read result 0, error %d: \"%s\".",
           conn->connection_number, errno, (char *)errorstring);
       }