From adce61f9b4fc061902bd331cef9fc4b951d7ca1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Thu, 24 Jun 2004 13:43:57 +0000 Subject: [PATCH] The description of the -S option in the man page says we won't fail if the remote size is unknown, but we do. Resolve this in the man page's favor. Requested by: Andre Albsmeier MFC after: 1 week --- usr.bin/fetch/fetch.c | 1 - 1 file changed, 1 deletion(-) diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c index 931a8ea89ee7..e0f8bfefedb7 100644 --- a/usr.bin/fetch/fetch.c +++ b/usr.bin/fetch/fetch.c @@ -443,7 +443,6 @@ fetch(char *URL, const char *path) if (S_size) { if (us.size == -1) { warnx("%s: size unknown", URL); - goto failure; } else if (us.size != S_size) { warnx("%s: size mismatch: expected %jd, actual %jd", URL, (intmax_t)S_size, (intmax_t)us.size);