aboutsummaryrefslogtreecommitdiff
path: root/http-fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'http-fetch.c')
-rw-r--r--http-fetch.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/http-fetch.c b/http-fetch.c
index 98cf52db4..bc74f30f7 100644
--- a/http-fetch.c
+++ b/http-fetch.c
@@ -149,7 +149,9 @@ static int missing__target(int code, int result)
return /* file:// URL -- do we ever use one??? */
(result == CURLE_FILE_COULDNT_READ_FILE) ||
/* http:// and https:// URL */
- (code == 404 && result == CURLE_HTTP_RETURNED_ERROR)
+ (code == 404 && result == CURLE_HTTP_RETURNED_ERROR) ||
+ /* ftp:// URL */
+ (code == 550 && result == CURLE_FTP_COULDNT_RETR_FILE)
;
}