mirror of
https://github.com/curl/curl.git
synced 2026-08-01 12:58:07 +03:00
parent
ae5e57c304
commit
06eb208126
7 changed files with 52 additions and 18 deletions
|
|
@ -155,7 +155,9 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
|
|||
char *argptr;
|
||||
CURLcode result = CURLE_OK;
|
||||
long arg;
|
||||
#ifdef ENABLE_IPV6
|
||||
unsigned long uarg;
|
||||
#endif
|
||||
curl_off_t bigsize;
|
||||
|
||||
switch(option) {
|
||||
|
|
@ -2533,6 +2535,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
|
|||
break;
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_IPV6
|
||||
case CURLOPT_ADDRESS_SCOPE:
|
||||
/*
|
||||
* Use this scope id when using IPv6
|
||||
|
|
@ -2546,6 +2549,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
|
|||
#endif
|
||||
data->set.scope_id = (unsigned int)uarg;
|
||||
break;
|
||||
#endif
|
||||
|
||||
case CURLOPT_PROTOCOLS:
|
||||
/* set the bitmask for the protocols that are allowed to be used for the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue