diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-23 06:29:41 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-23 06:29:41 +0000 |
commit | b053ae6a65d2abf236c61d1ce831ff717f7c6602 (patch) | |
tree | 60733180b96530822e0e432a11914f4c56cc923e /include | |
parent | 42f60ecb36a958bba00a96cc69549b116b9d28db (diff) |
define the obsolete options to different values to prevent "duplicate case"
situtations in bindings that still have switch() cases for them
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 766d4efc4..27030fc86 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -783,12 +783,12 @@ typedef enum { #ifndef CURL_NO_OLDIES /* define this to test if your app builds with all the obsolete stuff removed! */ -#define CURLOPT_HTTPREQUEST 0 +#define CURLOPT_HTTPREQUEST -1 #define CURLOPT_FTPASCII CURLOPT_TRANSFERTEXT -#define CURLOPT_MUTE 0 -#define CURLOPT_PASSWDFUNCTION 0 -#define CURLOPT_PASSWDDATA 0 -#define CURLOPT_CLOSEFUNCTION 0 +#define CURLOPT_MUTE -2 +#define CURLOPT_PASSWDFUNCTION -3 +#define CURLOPT_PASSWDDATA -4 +#define CURLOPT_CLOSEFUNCTION -5 #else /* This is set if CURL_NO_OLDIES is defined at compile-time */ |