aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-11-21 11:37:44 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-11-21 23:16:29 +0100
commitf70da9c17e315f382694d8ca5585191f4e5478d7 (patch)
tree0d683814510dcea5c61af6729d192eda6fd9554c /include
parente1f66ee3bfa06d294260a75ac6300f3783c7cc0b (diff)
include: make CURLE_HTTP3 use a new error code
To avoid potential issues with error code reuse. Reported-by: Christoph M. Becker Assisted-by: Dan Fandrich Fixes #4601 Closes #4627
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 8c43fa884..70b37b799 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -501,9 +501,7 @@ typedef enum {
CURLE_FTP_COULDNT_SET_TYPE, /* 17 */
CURLE_PARTIAL_FILE, /* 18 */
CURLE_FTP_COULDNT_RETR_FILE, /* 19 */
- CURLE_HTTP3, /* 20 - An HTTP/3 layer problem.
- [was obsoleted in August 2007 for 7.17.0,
- reused in November 2019 for 7.67.1] */
+ CURLE_OBSOLETE20, /* 20 - NOT USED */
CURLE_QUOTE_ERROR, /* 21 - quote command failure */
CURLE_HTTP_RETURNED_ERROR, /* 22 */
CURLE_WRITE_ERROR, /* 23 */
@@ -604,6 +602,7 @@ typedef enum {
inside a callback */
CURLE_AUTH_ERROR, /* 94 - an authentication function returned an
error */
+ CURLE_HTTP3, /* 95 - An HTTP/3 layer problem */
CURL_LAST /* never use! */
} CURLcode;