aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-transport.c')
-rw-r--r--src/transport/gnunet-transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c
index c03d6a388..641261c05 100644
--- a/src/transport/gnunet-transport.c
+++ b/src/transport/gnunet-transport.c
@@ -264,14 +264,14 @@ shutdown_task (void *cls,
264 { 264 {
265 duration = GNUNET_TIME_absolute_get_duration (start_time); 265 duration = GNUNET_TIME_absolute_get_duration (start_time);
266 FPRINTF (stdout, _("Transmitted %llu bytes/s (%llu bytes in %s)\n"), 266 FPRINTF (stdout, _("Transmitted %llu bytes/s (%llu bytes in %s)\n"),
267 1000 * traffic_sent / (1 + duration.rel_value), traffic_sent, 267 1000LL * 1000LL * traffic_sent / (1 + duration.rel_value_us), traffic_sent,
268 GNUNET_STRINGS_relative_time_to_string (duration, GNUNET_YES)); 268 GNUNET_STRINGS_relative_time_to_string (duration, GNUNET_YES));
269 } 269 }
270 if (benchmark_receive) 270 if (benchmark_receive)
271 { 271 {
272 duration = GNUNET_TIME_absolute_get_duration (start_time); 272 duration = GNUNET_TIME_absolute_get_duration (start_time);
273 FPRINTF (stdout, _("Received %llu bytes/s (%llu bytes in %s)\n"), 273 FPRINTF (stdout, _("Received %llu bytes/s (%llu bytes in %s)\n"),
274 1000 * traffic_received / (1 + duration.rel_value), 274 1000LL * 1000LL * traffic_received / (1 + duration.rel_value_us),
275 traffic_received, 275 traffic_received,
276 GNUNET_STRINGS_relative_time_to_string (duration, GNUNET_YES)); 276 GNUNET_STRINGS_relative_time_to_string (duration, GNUNET_YES));
277 } 277 }