mirror of
https://github.com/curl/curl.git
synced 2026-01-18 17:21:26 +01:00
curl.h: make CURL_IPRESOLVE_* symbols defined as longs
... as `curl_easy_setopt()` expects them to be. Also remove some casting workarounds. Closes #17790
This commit is contained in:
committed by
Daniel Stenberg
parent
91e8be7fc2
commit
7d73c712f0
@@ -2289,10 +2289,10 @@ typedef enum {
|
||||
/* Below here follows defines for the CURLOPT_IPRESOLVE option. If a host
|
||||
name resolves addresses using more than one IP protocol version, this
|
||||
option might be handy to force libcurl to use a specific IP version. */
|
||||
#define CURL_IPRESOLVE_WHATEVER 0 /* default, uses addresses to all IP
|
||||
#define CURL_IPRESOLVE_WHATEVER 0L /* default, uses addresses to all IP
|
||||
versions that your system allows */
|
||||
#define CURL_IPRESOLVE_V4 1 /* uses only IPv4 addresses/connections */
|
||||
#define CURL_IPRESOLVE_V6 2 /* uses only IPv6 addresses/connections */
|
||||
#define CURL_IPRESOLVE_V4 1L /* uses only IPv4 addresses/connections */
|
||||
#define CURL_IPRESOLVE_V6 2L /* uses only IPv6 addresses/connections */
|
||||
|
||||
/* Convenient "aliases" */
|
||||
#define CURLOPT_RTSPHEADER CURLOPT_HTTPHEADER
|
||||
|
||||
Reference in New Issue
Block a user