From 755a4c63b24f08f40e459fbd90a15d8af9467435 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 19 Dec 2011 16:08:07 +0000 Subject: [PATCH] - only when VERBOSE --- src/ats/ats_api_scheduling.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c index ea8911ee8..4c5e0d51e 100644 --- a/src/ats/ats_api_scheduling.c +++ b/src/ats/ats_api_scheduling.c @@ -721,11 +721,13 @@ interface_proc (void *cls, const char *name, /* Store in list */ if (net != NULL) { +#if VERBOSE_ATS char * netmask = strdup (GNUNET_a2s((struct sockaddr *) net->netmask, addrlen)); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Adding network `%s', netmask `%s'\n", GNUNET_a2s((struct sockaddr *) net->network, addrlen), netmask); GNUNET_free (netmask); +# endif GNUNET_CONTAINER_DLL_insert(sh->net_head, sh->net_tail, net); } return GNUNET_OK; -- 2.25.1