aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/fetch
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-04-06 12:24:26 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-04-06 12:24:26 +0000
commit3d4938420814efffa32afc704fd6f0388cbe115d (patch)
treed6a5e5ae79ca3726856873bab3374ccd3ea24101 /usr.bin/fetch
parent934cf0a3a5d7f6d52b51c9ae3dcd118d732fd1fa (diff)
Notes
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r--usr.bin/fetch/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index 4eff6189171e..051b8954ceb5 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -486,7 +486,7 @@ fetch(char *URL, const char *path)
"does not match remote", path);
goto failure_keep;
}
- } else {
+ } else if (us.size != -1) {
if (us.size == sb.st_size)
/* nothing to do */
goto success;