summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-06-24 13:43:57 +0000
committerdes <des@FreeBSD.org>2004-06-24 13:43:57 +0000
commit603c0cfb20b5cff4d8c5382c3230160080eae890 (patch)
treeef1fd9df6452ff94f4ac7cdd67f3a34a47b0332d /usr.bin
parent13a52cdc0e0e2aff67f1faedfce35837fde328fa (diff)
downloadFreeBSD-src-603c0cfb20b5cff4d8c5382c3230160080eae890.zip
FreeBSD-src-603c0cfb20b5cff4d8c5382c3230160080eae890.tar.gz
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 <andre.albsmeier@siemens.com> MFC after: 1 week
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/fetch/fetch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index 931a8ea..e0f8bfe 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);
OpenPOWER on IntegriCloud