aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-23 13:27:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-23 13:27:12 +0000
commit08620743b9b1b7a588ab444a9c1b8e1e79d584ca (patch)
treee6d362fbbcc0f70234949eacd0fb612189bdcf48 /include
parent41362f063a1d422074099d1331a7a62163ec41ca (diff)
made the resume error more suitable for all protocols, but we provide a
fallback to the old ftp-one to make old programs work the same
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index ded488ead..e4b63430a 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -174,7 +174,7 @@ typedef enum {
CURLE_HTTP_RANGE_ERROR, /* 33 - RANGE "command" didn't work */
CURLE_HTTP_POST_ERROR, /* 34 */
CURLE_SSL_CONNECT_ERROR, /* 35 - wrong when connecting with SSL */
- CURLE_FTP_BAD_DOWNLOAD_RESUME, /* 36 - couldn't resume download */
+ CURLE_BAD_DOWNLOAD_RESUME, /* 36 - couldn't resume download */
CURLE_FILE_COULDNT_READ_FILE, /* 37 */
CURLE_LDAP_CANNOT_BIND, /* 38 */
CURLE_LDAP_SEARCH_FAILED, /* 39 */
@@ -218,6 +218,7 @@ typedef enum {
/* This is just to make older programs not break: */
#define CURLE_FTP_PARTIAL_FILE CURLE_PARTIAL_FILE
+#define CURLE_FTP_BAD_DOWNLOAD_RESUME CURLE_BAD_DOWNLOAD_RESUME
#define CURL_ERROR_SIZE 256