Quieten some debug messages.
This commit is contained in:
@@ -996,7 +996,7 @@ void dacp_monitor_stop() {
|
|||||||
debug(3, "DACP Conversation Lock Mutex Destroyed");
|
debug(3, "DACP Conversation Lock Mutex Destroyed");
|
||||||
pthread_mutex_destroy(&dacp_conversation_lock);
|
pthread_mutex_destroy(&dacp_conversation_lock);
|
||||||
pthread_cond_destroy(&dacp_server_information_cv);
|
pthread_cond_destroy(&dacp_server_information_cv);
|
||||||
debug(1, "DACP Server Information Condition Variable destroyed.");
|
debug(3, "DACP Server Information Condition Variable destroyed.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+5
-5
@@ -342,17 +342,17 @@ static int avahi_register(char *srvname, int srvport) {
|
|||||||
static void avahi_unregister(void) {
|
static void avahi_unregister(void) {
|
||||||
// debug(1, "avahi_unregister.");
|
// debug(1, "avahi_unregister.");
|
||||||
if (tpoll) {
|
if (tpoll) {
|
||||||
debug(1, "avahi: stop the threaded poll.");
|
debug(2, "avahi: stop the threaded poll.");
|
||||||
avahi_threaded_poll_stop(tpoll);
|
avahi_threaded_poll_stop(tpoll);
|
||||||
|
|
||||||
if (client) {
|
if (client) {
|
||||||
debug(1, "avahi: free the client.");
|
debug(2, "avahi: free the client.");
|
||||||
avahi_client_free(client);
|
avahi_client_free(client);
|
||||||
client = NULL;
|
client = NULL;
|
||||||
} else {
|
} else {
|
||||||
debug(1, "avahi attempting to unregister a NULL client");
|
debug(1, "avahi attempting to unregister a NULL client");
|
||||||
}
|
}
|
||||||
debug(1, "avahi: free the threaded poll.");
|
debug(2, "avahi: free the threaded poll.");
|
||||||
avahi_threaded_poll_free(tpoll);
|
avahi_threaded_poll_free(tpoll);
|
||||||
tpoll = NULL;
|
tpoll = NULL;
|
||||||
} else {
|
} else {
|
||||||
@@ -360,7 +360,7 @@ static void avahi_unregister(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (service_name) {
|
if (service_name) {
|
||||||
debug(1, "avahi: free the service name.");
|
debug(2, "avahi: free the service name.");
|
||||||
free(service_name);
|
free(service_name);
|
||||||
} else
|
} else
|
||||||
debug(1, "avahi attempt to free NULL service name");
|
debug(1, "avahi attempt to free NULL service name");
|
||||||
@@ -414,7 +414,7 @@ void avahi_dacp_monitor_stop() {
|
|||||||
}
|
}
|
||||||
avahi_threaded_poll_unlock(tpoll);
|
avahi_threaded_poll_unlock(tpoll);
|
||||||
free(dbs->dacp_id);
|
free(dbs->dacp_id);
|
||||||
debug(1, "avahi_dacp_monitor_stop Avahi DACP monitor successfully stopped");
|
debug(2, "avahi_dacp_monitor_stop Avahi DACP monitor successfully stopped");
|
||||||
}
|
}
|
||||||
|
|
||||||
mdns_backend mdns_avahi = {.name = "avahi",
|
mdns_backend mdns_avahi = {.name = "avahi",
|
||||||
|
|||||||
Reference in New Issue
Block a user