From: Markus Großer Date: Sat, 18 Nov 2017 15:26:54 +0000 (+0100) Subject: Removed debugging printfs from STEMlab discovery X-Git-Url: https://git.rkrishnan.org/pf/$rel_link?a=commitdiff_plain;h=ad37a67b32105a78082537752985e0e273d698c0;p=pihpsdr.git Removed debugging printfs from STEMlab discovery Those were only in there for debugging purposes while developing the feature. All possible error conditions are still checked and taken care of, so this removal won't pose a problem for the end user trying to find problems. --- diff --git a/stemlab_discovery.c b/stemlab_discovery.c index 5e8e705..bb8b532 100644 --- a/stemlab_discovery.c +++ b/stemlab_discovery.c @@ -171,7 +171,6 @@ static void resolver_found_cb(GaServiceResolver *resolver, AvahiIfIndex if_index device->info.network.interface_address = * (struct sockaddr_in *) current_if->ifa_addr; device->info.network.interface_netmask = * (struct sockaddr_in *) current_if->ifa_netmask; strcpy(device->info.network.interface_name, if_name); - fprintf(stderr, "|> Added STEMlab %.9s\n", name); } void resolver_failure_cb(GaServiceResolver *resolver, GError *error, gpointer data) { @@ -277,7 +276,6 @@ void stemlab_discovery(void) { while (!discovery_done || pending_callbacks > 0) { g_main_context_iteration(NULL, TRUE); } - fprintf(stderr, "|> STEMlab discovery done\n"); } // This is essentially a no-op curl callback