]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Removed debugging printfs from STEMlab discovery
authorMarkus Großer <markus.grosser2+git@gmail.com>
Sat, 18 Nov 2017 15:26:54 +0000 (16:26 +0100)
committerMarkus Großer <markus.grosser2+git@gmail.com>
Sat, 18 Nov 2017 15:26:54 +0000 (16:26 +0100)
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.

stemlab_discovery.c

index 5e8e7050c419d2339be942ed77094d9878bd266b..bb8b532fc8ee57ea9088dbe76f2f3bc78958dd8f 100644 (file)
@@ -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