diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-16 14:10:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-16 14:10:20 +0000 |
commit | caa41792e389361146533317cf97fc9e376128c7 (patch) | |
tree | 6e96b95709527c5ddf6bf0e10cc8c6667febfdbf | |
parent | a5615e7283a532416870bfdc90d5e3a51751f73e (diff) | |
download | gnunet-caa41792e389361146533317cf97fc9e376128c7.tar.gz gnunet-caa41792e389361146533317cf97fc9e376128c7.zip |
-indentation fixes
-rw-r--r-- | src/ats-tool/gnunet-ats.c | 17 |
1 files changed, 11 insertions, 6 deletions
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) | |||
199 | GNUNET_free (ats_tmp); | 199 | GNUNET_free (ats_tmp); |
200 | } | 200 | } |
201 | GNUNET_free (ats_prop_value); | 201 | GNUNET_free (ats_prop_value); |
202 | } | 202 | } |
203 | 203 | ||
204 | fprintf (stderr, _("Peer `%s' plugin `%s', address `%s', `%s' bw out: %u Bytes/s, bw in %u Bytes/s, %s\n"), | 204 | fprintf (stderr, |
205 | GNUNET_i2s (&pr->address->peer), pr->address->transport_name, address, | 205 | _("Peer `%s' plugin `%s', address `%s', `%s' bw out: %u Bytes/s, bw in %u Bytes/s, %s\n"), |
206 | GNUNET_ATS_print_network_type(network), | 206 | GNUNET_i2s (&pr->address->peer), |
207 | ntohl (pr->bandwidth_out.value__), ntohl (pr->bandwidth_in.value__),ats_str); | 207 | pr->address->transport_name, |
208 | address, | ||
209 | GNUNET_ATS_print_network_type(network), | ||
210 | ntohl (pr->bandwidth_out.value__), | ||
211 | ntohl (pr->bandwidth_in.value__), | ||
212 | ats_str); | ||
208 | GNUNET_free (ats_str); | 213 | GNUNET_free (ats_str); |
209 | } | 214 | } |
210 | else | 215 | else |
@@ -414,7 +419,7 @@ testservice_ats (void *cls, | |||
414 | } | 419 | } |
415 | else if (op_monitor) | 420 | else if (op_monitor) |
416 | { | 421 | { |
417 | ph = GNUNET_ATS_performance_init (cfg, ats_perf_cb, NULL); | 422 | ph = GNUNET_ATS_performance_init (cfg, &ats_perf_cb, NULL); |
418 | if (NULL == ph) | 423 | if (NULL == ph) |
419 | fprintf (stderr, _("Cannot connect to ATS service, exiting...\n")); | 424 | fprintf (stderr, _("Cannot connect to ATS service, exiting...\n")); |
420 | end_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &end, NULL); | 425 | end_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &end, NULL); |