Skip to content

Commit

Permalink
curl.h: bring back CURLE_OBSOLETE16
Browse files Browse the repository at this point in the history
Removing defines, even obsolete ones that haven't been used for a very
long time, still break a lot of applications.

Bug: #106
  • Loading branch information
robocoder authored and bagder committed Jul 28, 2014
1 parent 6543f6e commit f3bd3de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/curl/curl.h
Expand Up @@ -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

Expand Down

0 comments on commit f3bd3de

Please sign in to comment.