summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r--usr.bin/fetch/fetch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index fd97d5c..cc49b9f 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -154,6 +154,9 @@ stat_end(struct xferstat *xs)
{
double delta;
double bps;
+
+ if (!v_level)
+ return;
gettimeofday(&xs->end, NULL);
OpenPOWER on IntegriCloud