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;
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;