commit 9deb8bab00830e2d6433b9db3290e08c036de63a
parent 38190765534b1d8b88be5da32e94b3f9eb314e0a
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 11 Aug 2013 21:22:39 +0000
changing time measurement from milliseconds to microseconds
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/fuse/gfs_download.c b/src/fuse/gfs_download.c
@@ -128,9 +128,9 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *info)
GNUNET_break (info->value.download.dc == ctx->dc);
s =
GNUNET_STRINGS_byte_size_fancy (info->value.download.completed *
- 1000 /
+ 1000000LL /
(info->value.download.
- duration.rel_value + 1));
+ duration.rel_value_us + 1));
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Downloading `%s' done (%s/s).\n",
info->value.download.filename, s);