From 84b3c3b569b1ddf3c8d71b2dfa6660a5fd0fff5d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 19 Dec 2003 08:10:09 +0000 Subject: [PATCH] Make setopt() support CURLOPT_IPRESOLVE... --- lib/url.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/url.c b/lib/url.c index 1584f9199..cd8ce5fdd 100644 --- a/lib/url.c +++ b/lib/url.c @@ -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 */