Skip to content

Commit

Permalink
quieten message when dacp scanner does down
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrady committed Apr 16, 2018
1 parent e002da6 commit 75041c5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mdns.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ void mdns_unregister(void) {

void *mdns_dacp_monitor(char *dacp_id) {
void *reply = NULL;
if ((dacp_id==NULL) || (*dacp_id=='\0'))
debug(1, "A null or zero-length DACP-ID string was provided for monitoring -- nothing done.");
else {
if ((dacp_id!=NULL) && (*dacp_id!='\0')) {
if ((config.mdns) && (config.mdns->mdns_dacp_monitor)) {
reply = config.mdns->mdns_dacp_monitor(dacp_id);
if (reply == NULL) {
Expand Down

0 comments on commit 75041c5

Please sign in to comment.