diff options
-rw-r--r-- | lib/libfetch/ftp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/ftp.c b/lib/libfetch/ftp.c index 031a243..7da413f 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; |