Skip to content
Snippets Groups Projects
Commit 84b3c3b5 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Make setopt() support CURLOPT_IPRESOLVE...

parent 4ea14b25
No related branches found
No related tags found
No related merge requests found
......@@ -1258,6 +1258,10 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...)
data->set.ftp_ssl = va_arg(param, long);
break;
case CURLOPT_IPRESOLVE:
data->set.ip_version = va_arg(param, long);
break;
default:
/* unknown tag and its companion, just ignore: */
return CURLE_FAILED_INIT; /* correct this */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment