aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/fetch/fetch.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2000-07-21 14:23:22 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2000-07-21 14:23:22 +0000
commit724d700502b6cd9cefe2b10f80bbd158e94ce237 (patch)
tree617d1fbb5f817021c725afed72808884d868ca6c /usr.bin/fetch/fetch.c
parent2197aaf1394ec644924607aacda0450438a85e31 (diff)
downloadsrc-724d700502b6cd9cefe2b10f80bbd158e94ce237.tar.gz
src-724d700502b6cd9cefe2b10f80bbd158e94ce237.zip
Notes
Diffstat (limited to 'usr.bin/fetch/fetch.c')
-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 fd97d5c1c681..cc49b9fd4044 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);