aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/fetch
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2000-07-17 22:44:00 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2000-07-17 22:44:00 +0000
commit45b22b2a875c88c73afbe74d6e2887cbd227be8e (patch)
treee028a0d32ee80212348a9fd38f31a71bc746ef4f /usr.bin/fetch
parent82db3da3e1eac11ec740024afe5bdc90762ab31f (diff)
downloadsrc-45b22b2a875c88c73afbe74d6e2887cbd227be8e.tar.gz
src-45b22b2a875c88c73afbe74d6e2887cbd227be8e.zip
While I'm at it, break a line that was too long, remove a pointless diagnostic
and adjust the verbosity level of another.
Notes
Notes: svn path=/head/; revision=63353
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r--usr.bin/fetch/fetch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index 99a9cda3a612..5efa9a1f1f5b 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -199,7 +199,7 @@ fetch(char *URL, char *path)
count = 0;
/* common flags */
- if (v_level > 2)
+ if (v_level > 1)
strcat(flags, "v");
switch (family) {
case PF_INET:
@@ -678,12 +678,12 @@ main(int argc, char *argv[])
&& fetchLastErrCode != FETCH_UNKNOWN)) {
if (w_secs) {
if (v_level)
- fprintf(stderr, "Waiting %d seconds before retrying\n", w_secs);
+ fprintf(stderr, "Waiting %d seconds before retrying\n",
+ w_secs);
sleep(w_secs);
}
if (a_flag)
continue;
- fprintf(stderr, "Skipping %s\n", *argv);
}
}