From: Christian Grothoff Date: Mon, 16 Dec 2013 14:10:20 +0000 (+0000) Subject: -indentation fixes X-Git-Tag: initial-import-from-subversion-38251~5445 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=caa41792e389361146533317cf97fc9e376128c7;p=oweals%2Fgnunet.git -indentation fixes --- diff --git a/src/ats-tool/gnunet-ats.c b/src/ats-tool/gnunet-ats.c index a873ab0f2..553e9db7d 100644 --- a/src/ats-tool/gnunet-ats.c +++ b/src/ats-tool/gnunet-ats.c @@ -199,12 +199,17 @@ transport_addr_to_str_cb (void *cls, const char *address) GNUNET_free (ats_tmp); } GNUNET_free (ats_prop_value); - } + } - fprintf (stderr, _("Peer `%s' plugin `%s', address `%s', `%s' bw out: %u Bytes/s, bw in %u Bytes/s, %s\n"), - GNUNET_i2s (&pr->address->peer), pr->address->transport_name, address, - GNUNET_ATS_print_network_type(network), - ntohl (pr->bandwidth_out.value__), ntohl (pr->bandwidth_in.value__),ats_str); + fprintf (stderr, + _("Peer `%s' plugin `%s', address `%s', `%s' bw out: %u Bytes/s, bw in %u Bytes/s, %s\n"), + GNUNET_i2s (&pr->address->peer), + pr->address->transport_name, + address, + GNUNET_ATS_print_network_type(network), + ntohl (pr->bandwidth_out.value__), + ntohl (pr->bandwidth_in.value__), + ats_str); GNUNET_free (ats_str); } else @@ -414,7 +419,7 @@ testservice_ats (void *cls, } else if (op_monitor) { - ph = GNUNET_ATS_performance_init (cfg, ats_perf_cb, NULL); + ph = GNUNET_ATS_performance_init (cfg, &ats_perf_cb, NULL); if (NULL == ph) fprintf (stderr, _("Cannot connect to ATS service, exiting...\n")); end_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &end, NULL);