From ad37a67b32105a78082537752985e0e273d698c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Markus=20Gro=C3=9Fer?= Date: Sat, 18 Nov 2017 16:26:54 +0100 Subject: [PATCH] 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. --- stemlab_discovery.c | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.45.2