Fix a few tiny typos and rationalise some debug message levels.

This commit is contained in:
Mike Brady
2018-04-16 10:00:22 +01:00
parent 70c72821c9
commit ed0ce06e82
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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) {
+1 -1
View 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.");
}
}
+2 -2
View File
@@ -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 {