Make setopt() support CURLOPT_IPRESOLVE...

This commit is contained in:
Daniel Stenberg 2003-12-19 08:10:09 +00:00
parent 4ea14b25df
commit 84b3c3b569
1 changed files with 4 additions and 0 deletions

View File

@ -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 */