aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-12-19 08:10:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-12-19 08:10:09 +0000
commit84b3c3b569b1ddf3c8d71b2dfa6660a5fd0fff5d (patch)
tree52522cbfdee29d7fd872fea27e3a7cbad6308a4f /lib
parent4ea14b25dfcd5fe599db8cf2e3976f993b5490cc (diff)
Make setopt() support CURLOPT_IPRESOLVE...
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c4
1 files changed, 4 insertions, 0 deletions
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 */