diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-12-19 08:10:09 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-12-19 08:10:09 +0000 |
commit | 84b3c3b569b1ddf3c8d71b2dfa6660a5fd0fff5d (patch) | |
tree | 52522cbfdee29d7fd872fea27e3a7cbad6308a4f /lib | |
parent | 4ea14b25dfcd5fe599db8cf2e3976f993b5490cc (diff) |
Make setopt() support CURLOPT_IPRESOLVE...
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |