]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Quieten some debug messages.
authorMike Brady <mikebrady@eircom.net>
Mon, 23 Jul 2018 13:26:48 +0000 (14:26 +0100)
committerMike Brady <mikebrady@eircom.net>
Mon, 23 Jul 2018 13:26:48 +0000 (14:26 +0100)
rtsp.c

diff --git a/rtsp.c b/rtsp.c
index 1961a18f74ed13c510fa820acd29d2490eed37e0..16c6836a4892196a3338c7db998f456d78d65123 100644 (file)
--- a/rtsp.c
+++ b/rtsp.c
@@ -1942,12 +1942,12 @@ authenticate:
 
 void rtsp_conversation_thread_cleanup_function(void *arg) {
   rtsp_conn_info *conn = (rtsp_conn_info *)arg;
-  debug(1, "Connection %d: rtsp_conversation_thread_func_cleanup_function called.",
-        conn->connection_number);
+  //debug(1, "Connection %d: rtsp_conversation_thread_func_cleanup_function called.",
+  //      conn->connection_number);
   player_stop(conn);
   if (conn->fd > 0) {
-    debug(1, "Connection %d: closing fd %d.",
-        conn->connection_number,conn->fd);    
+    // debug(1, "Connection %d: closing fd %d.",
+    //    conn->connection_number,conn->fd);    
     close(conn->fd);
   }
   if (conn->auth_nonce) {
@@ -2298,7 +2298,7 @@ void rtsp_listen_loop(void) {
           sa = (struct sockaddr_in *)&conn->remote;
           inet_ntop(AF_INET, &(sa->sin_addr), remote_ip4, INET_ADDRSTRLEN);
           unsigned short int rport = ntohs(sa->sin_port);
-          debug(1, "Connection %d: new connection from %s:%u to self at %s:%u.",
+          debug(2, "Connection %d: new connection from %s:%u to self at %s:%u.",
                 conn->connection_number,remote_ip4, rport, ip4, tport);
         }
 #ifdef AF_INET6
@@ -2315,7 +2315,7 @@ void rtsp_listen_loop(void) {
           sa6 = (struct sockaddr_in6 *)&conn->remote; // pretend this is loaded with something
           inet_ntop(AF_INET6, &(sa6->sin6_addr), remote_ip6, INET6_ADDRSTRLEN);
           u_int16_t rport = ntohs(sa6->sin6_port);
-          debug(1, "Connection %d: new connection from [%s]:%u to self at [%s]:%u.",
+          debug(2, "Connection %d: new connection from [%s]:%u to self at [%s]:%u.",
                 conn->connection_number, remote_ip6, rport, ip6, tport);
         }
 #endif