Skip to content

Commit

Permalink
Quieten some debug messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrady committed Jun 21, 2020
1 parent f266e4c commit 4e1f74d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dacp.c
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ void dacp_monitor_stop() {
debug(3, "DACP Conversation Lock Mutex Destroyed");
pthread_mutex_destroy(&dacp_conversation_lock);
pthread_cond_destroy(&dacp_server_information_cv);
debug(1, "DACP Server Information Condition Variable destroyed.");
debug(3, "DACP Server Information Condition Variable destroyed.");
}
}

Expand Down
10 changes: 5 additions & 5 deletions mdns_avahi.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,25 +342,25 @@ 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 {
debug(1, "No avahi threaded poll.");
}

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");
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 4e1f74d

Please sign in to comment.