]> granicus.if.org Git - curl/commitdiff
curl.h: bring back CURLE_OBSOLETE16
authorAnthon Pang <anthon.pang@gmail.com>
Sun, 27 Jul 2014 19:39:12 +0000 (19:39 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 28 Jul 2014 08:51:50 +0000 (10:51 +0200)
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

include/curl/curl.h

index 5528d87bf0b542830262b5dbf9354b877c6f8368..ebcd07a0086a80ec84ae5b15aa97d44497df3dde 100644 (file)
@@ -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