From 45b22b2a875c88c73afbe74d6e2887cbd227be8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Mon, 17 Jul 2000 22:44:00 +0000 Subject: While I'm at it, break a line that was too long, remove a pointless diagnostic and adjust the verbosity level of another. --- usr.bin/fetch/fetch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/fetch') 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); } } -- cgit v1.2.3