diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-01-06 12:54:16 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-01-06 12:54:16 +0000 |
commit | cadd08f36a383aa03d9789e709155b5016d41df4 (patch) | |
tree | de39610952108d3c2f3f2c37cef395e56ded5aad /lib | |
parent | 7306b7829bd7800cd0bb2b17f36f747bb44452ea (diff) |
make sure CURLPROXY_SOCKS5_HOSTNAME is taken care of as well
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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. */ |