]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fix a few tiny typos and rationalise some debug message levels.
authorMike Brady <mikebrady@eircom.net>
Mon, 16 Apr 2018 09:00:22 +0000 (10:00 +0100)
committerMike Brady <mikebrady@eircom.net>
Mon, 16 Apr 2018 09:00:22 +0000 (10:00 +0100)
dacp.c
mdns_avahi.c
rtp.c

diff --git a/dacp.c b/dacp.c
index 6300111373a8cc3295c8ff8219bed70abae268fa..7b01a325288539d7c3672faa025ca2582b5f5740 100644 (file)
--- a/dacp.c
+++ b/dacp.c
@@ -156,7 +156,7 @@ int dacp_send_command(const char *command, char **body, ssize_t *bodysize) {
   hints.ai_family = AF_UNSPEC;
   hints.ai_socktype = SOCK_STREAM;
 
-  // debug(1, "DHCP port string is \"%s:%s\".", server, portstring);
+  // debug(1, "DACP port string is \"%s:%s\".", server, portstring);
 
   int ires = getaddrinfo(server, portstring, &hints, &res);
   if (ires) {
index f231eecdf52588cc304d953c83825817e1d22b13..6756c1eaac3933d63fe389ffe9013d1ab3872673 100644 (file)
@@ -448,7 +448,7 @@ void avahi_dacp_dont_monitor(void *userdata) {
     free((char *)(dbs));
     debug(3, "DACP monitor successfully stopped");
   } else {
-    debug(1, "DHCP Monitor is not running.");
+    debug(1, "DACP Monitor is not running.");
   }
 }
 
diff --git a/rtp.c b/rtp.c
index 6f098db1f72fe8af1703ddfbffc481ef7f73add8..066b11f875e8b2dd96ad6fe591ec821320e61c02 100644 (file)
--- a/rtp.c
+++ b/rtp.c
@@ -165,7 +165,7 @@ void *rtp_audio_receiver(void *arg) {
               (drand48() > config.diagnostic_drop_packet_fraction))
             player_put_packet(seqno, actual_timestamp, timestamp, pktp, plen, conn);
           else
-            debug(3, "Dropping audio packet %u to simulate a bad connection.", seqno);
+            debug(2, "Dropping audio packet %u to simulate a bad connection.", seqno);
           continue;
         }
         if (type == 0x56 && seqno == 0) {
@@ -986,7 +986,7 @@ void rtp_request_resend(seq_t first, uint32_t count, rtsp_conn_info *conn) {
           conn->rtp_time_of_last_resend_request_error_fp = 0;
         }
       } else {
-        debug(2, "rtp_request_resend dropping outgoing packet to simulate a bad netowrk.");
+        debug(2, "Dropping resend request packet to simulate a bad netowrk.");
       }
     }
   } else {