summaryrefslogtreecommitdiff
path: root/lib/strerror.c
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 /lib/strerror.c
parente1f66ee3bfa06d294260a75ac6300f3783c7cc0b (diff)
downloadcurl-f70da9c17e315f382694d8ca5585191f4e5478d7.tar.gz
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 'lib/strerror.c')
-rw-r--r--lib/strerror.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/strerror.c b/lib/strerror.c
index 90e8a3131..ba2e7a6f9 100644
--- a/lib/strerror.c
+++ b/lib/strerror.c
@@ -318,6 +318,7 @@ curl_easy_strerror(CURLcode error)
return "HTTP/3 error";
/* error codes not used by current libcurl */
+ case CURLE_OBSOLETE20:
case CURLE_OBSOLETE24:
case CURLE_OBSOLETE29:
case CURLE_OBSOLETE32: