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:
7306b78
)
make sure CURLPROXY_SOCKS5_HOSTNAME is taken care of as well
author
Daniel Stenberg
<daniel@haxx.se>
Sun, 6 Jan 2008 12:54:16 +0000
(12:54 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Sun, 6 Jan 2008 12:54:16 +0000
(12:54 +0000)
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
550cb21
..
8e24053
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-2636,8
+2636,10
@@
static CURLcode ConnectPlease(struct SessionHandle *data,
switch(data->set.proxytype) {
case CURLPROXY_SOCKS5:
- result = Curl_SOCKS5(conn->proxyuser, conn->proxypasswd, conn->host.name,
- conn->remote_port, FIRSTSOCKET, conn);
+ case CURLPROXY_SOCKS5_HOSTNAME:
+ result = Curl_SOCKS5(conn->proxyuser, conn->proxypasswd,
+ conn->host.name, conn->remote_port,
+ FIRSTSOCKET, conn);
break;
case CURLPROXY_HTTP:
/* do nothing here. handled later. */