From: Mike Brady Date: Mon, 16 Apr 2018 09:00:22 +0000 (+0100) Subject: Fix a few tiny typos and rationalise some debug message levels. X-Git-Tag: 3.2RC4~5^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed0ce06e822301f7892ff72c9ecca12e7f9468e5;p=thirdparty%2Fshairport-sync.git Fix a few tiny typos and rationalise some debug message levels. --- diff --git a/dacp.c b/dacp.c index 63001113..7b01a325 100644 --- 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) { diff --git a/mdns_avahi.c b/mdns_avahi.c index f231eecd..6756c1ea 100644 --- a/mdns_avahi.c +++ b/mdns_avahi.c @@ -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 6f098db1..066b11f8 100644 --- 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 {