projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ea14b2
)
Make setopt() support CURLOPT_IPRESOLVE...
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 19 Dec 2003 08:10:09 +0000
(08:10 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 19 Dec 2003 08:10:09 +0000
(08:10 +0000)
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
1584f91
..
cd8ce5f
100644
(file)
--- 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 */