From: Mike Brady Date: Sat, 7 Apr 2018 10:39:38 +0000 (+0100) Subject: Check the dacp scan code. X-Git-Tag: 3.2RC1~7^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7481c707d98be783c7d1e3341ba0d9ebaf4f98a8;p=thirdparty%2Fshairport-sync.git Check the dacp scan code. --- diff --git a/dacp.c b/dacp.c index b67138a0..a7d0679f 100644 --- a/dacp.c +++ b/dacp.c @@ -368,7 +368,6 @@ void dacp_monitor_port_update_callback(char *dacp_id, uint16_t port) { } else { debug(1, "dacp port monitor reporting on an out-of-use remote."); } - pthread_cond_signal(&dacp_server_information_cv); pthread_mutex_unlock(&dacp_server_information_lock); } void *dacp_monitor_thread_code(__attribute__((unused)) void *na) { @@ -404,7 +403,7 @@ void *dacp_monitor_thread_code(__attribute__((unused)) void *na) { else idle_scan_count = 0; - debug(1,"Bad Scan Count: %d, Idle Scan Count: %d.",bad_result_count,idle_scan_count); + debug(1,"HTTP Result: %d, Bad Scan Count: %d, Idle Scan Count: %d.",result,bad_result_count,idle_scan_count); if ((bad_result_count == config.scan_max_bad_response_count) || (idle_scan_count == config.scan_max_inactive_count)) { debug(1,"DACP server status scanning stopped.");