Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dns_sd: qualify IIO_ERROR message before it prints out
After a loop finishes (normally by a 'break;') only print out the IIO_ERROR message if there was an error (was no 'break;'). This resolves some random message printing out: ERROR: dnssd_remove_node call when 1 exceeds list length (1) when doing dns-sd (iio_info -s). Signed-off-by: Robin Getz <[email protected]>
- Loading branch information