diff options
author | Anthon Pang <anthon.pang@gmail.com> | 2014-07-27 19:39:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-07-28 10:51:50 +0200 |
commit | f3bd3deddd828be83dec05062d2d2b9099ce5790 (patch) | |
tree | 3f2caeed350e4a9feaaa74fba0dd5cb17dc60814 /include | |
parent | 6543f6e36c8bf8552782539fc2fdfc37fa85109d (diff) | |
download | curl-f3bd3deddd828be83dec05062d2d2b9099ce5790.tar.gz |
curl.h: bring back CURLE_OBSOLETE16
Removing defines, even obsolete ones that haven't been used for a very
long time, still break a lot of applications.
Bug: https://github.com/bagder/curl/pull/106
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 5528d87bf..ebcd07a00 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -527,7 +527,10 @@ typedef enum { #ifndef CURL_NO_OLDIES /* define this to test if your app builds with all the obsolete stuff removed! */ -/* Previously obsoletes error codes re-used in 7.24.0 */ +/* Previously obsolete error code re-used in 7.38.0 */ +#define CURLE_OBSOLETE16 CURLE_HTTP2 + +/* Previously obsolete error codes re-used in 7.24.0 */ #define CURLE_OBSOLETE10 CURLE_FTP_ACCEPT_FAILED #define CURLE_OBSOLETE12 CURLE_FTP_ACCEPT_TIMEOUT |