aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-11 22:18:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-11 22:18:11 +0000
commitfec571f5b03ce705ea06e2edb02c9d9e786e7bf3 (patch)
tree1b63b2c6fb1ea85ffc6cb79f97c4cdabe70a6031
parent976285ccbcf956c3314e30e35724276b1ccc8e47 (diff)
modified to use the current error code name, not the obsolete one
-rw-r--r--lib/ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index a43ee7051..74a73ac66 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1966,7 +1966,7 @@ CURLcode Curl_ftp_nextconnect(struct connectdata *conn)
failf(data, "Offset (%" FORMAT_OFF_T
") was beyond file size (%" FORMAT_OFF_T ")",
conn->resume_from, foundsize);
- return CURLE_FTP_BAD_DOWNLOAD_RESUME;
+ return CURLE_BAD_DOWNLOAD_RESUME;
}
/* convert to size to download */
downloadsize = -conn->resume_from;
@@ -1978,7 +1978,7 @@ CURLcode Curl_ftp_nextconnect(struct connectdata *conn)
failf(data, "Offset (%" FORMAT_OFF_T
") was beyond file size (%" FORMAT_OFF_T ")",
conn->resume_from, foundsize);
- return CURLE_FTP_BAD_DOWNLOAD_RESUME;
+ return CURLE_BAD_DOWNLOAD_RESUME;
}
/* Now store the number of bytes we are expected to download */
downloadsize = foundsize-conn->resume_from;