summaryrefslogtreecommitdiff
path: root/lib/libfetch/ftp.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2000-07-28 10:37:35 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2000-07-28 10:37:35 +0000
commit373b1d679af8488b1062f3dff760c14520cce1eb (patch)
tree2576719f5412b37a666b192ff68008207c3eaf4a /lib/libfetch/ftp.c
parent17493f7de06ae737119c0877daa6390eee917f68 (diff)
Notes
Diffstat (limited to 'lib/libfetch/ftp.c')
-rw-r--r--lib/libfetch/ftp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/ftp.c b/lib/libfetch/ftp.c
index 031a2434f19e..7da413fd77bf 100644
--- a/lib/libfetch/ftp.c
+++ b/lib/libfetch/ftp.c
@@ -796,6 +796,7 @@ fetchXGetFTP(struct url *url, struct url_stat *us, char *flags)
/* stat file */
if (us && _ftp_stat(cd, url->doc, us) == -1
+ && fetchLastErrCode != FETCH_PROTO
&& fetchLastErrCode != FETCH_UNAVAIL)
return NULL;