summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-07-17 22:44:00 +0000
committerdes <des@FreeBSD.org>2000-07-17 22:44:00 +0000
commit0a49b612e7bb6bcf2d67bf5812002119d0cdf9e2 (patch)
tree4a063fb99721935640742bd00b17316b9e762d7d /usr.bin/fetch
parent210624f121b5abac3616702f66216aefa115b1a3 (diff)
downloadFreeBSD-src-0a49b612e7bb6bcf2d67bf5812002119d0cdf9e2.zip
FreeBSD-src-0a49b612e7bb6bcf2d67bf5812002119d0cdf9e2.tar.gz
While I'm at it, break a line that was too long, remove a pointless diagnostic
and adjust the verbosity level of another.
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 99a9cda..5efa9a1 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);
}
}
OpenPOWER on IntegriCloud