From: Anthon Pang Date: Sun, 27 Jul 2014 19:39:12 +0000 (+0000) Subject: curl.h: bring back CURLE_OBSOLETE16 X-Git-Tag: curl-7_38_0~171 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3bd3deddd828be83dec05062d2d2b9099ce5790;p=curl 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 --- 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