Quieten some debug messages.

This commit is contained in:
Mike Brady
2020-06-21 13:16:08 +01:00
parent f266e4c08b
commit 4e1f74db87
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -342,17 +342,17 @@ static int avahi_register(char *srvname, int srvport) {
static void avahi_unregister(void) {
// debug(1, "avahi_unregister.");
if (tpoll) {
debug(1, "avahi: stop the threaded poll.");
debug(2, "avahi: stop the threaded poll.");
avahi_threaded_poll_stop(tpoll);
if (client) {
debug(1, "avahi: free the client.");
debug(2, "avahi: free the client.");
avahi_client_free(client);
client = NULL;
} else {
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);
tpoll = NULL;
} else {
@@ -360,7 +360,7 @@ static void avahi_unregister(void) {
}
if (service_name) {
debug(1, "avahi: free the service name.");
debug(2, "avahi: free the service name.");
free(service_name);
} else
debug(1, "avahi attempt to free NULL service name");
@@ -414,7 +414,7 @@ void avahi_dacp_monitor_stop() {
}
avahi_threaded_poll_unlock(tpoll);
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",