diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-11-15 14:14:13 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-11-15 14:14:13 -0500 |
commit | 8c2affe637e0cfbf5ddfe02c910c75bcd749ded3 (patch) | |
tree | 84c6140c4b32bbd7ef4b226c59329c8345ccde24 /src/or/connection_or.c | |
parent | 3d7772ece3128097f4d541585e525c61f6ea27c2 (diff) | |
parent | ac2c0cb587548c4faf3fa225064cdbd183f609bb (diff) | |
download | tor-8c2affe637e0cfbf5ddfe02c910c75bcd749ded3.tar.gz tor-8c2affe637e0cfbf5ddfe02c910c75bcd749ded3.zip |
Merge remote branch 'origin/maint-0.2.2'
Conflicts:
src/or/config.c
src/or/cpuworker.c
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 5b8236291a..0809934cea 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -326,7 +326,7 @@ connection_or_finished_connecting(or_connection_t *or_conn) proxy_type = PROXY_NONE; - if (get_options()->HttpsProxy) + if (get_options()->HTTPSProxy) proxy_type = PROXY_CONNECT; else if (get_options()->Socks4Proxy) proxy_type = PROXY_SOCKS4; @@ -842,10 +842,10 @@ connection_or_connect(const tor_addr_t *_addr, uint16_t port, control_event_or_conn_status(conn, OR_CONN_EVENT_LAUNCHED, 0); /* use a proxy server if available */ - if (options->HttpsProxy) { + if (options->HTTPSProxy) { using_proxy = 1; - tor_addr_copy(&addr, &options->HttpsProxyAddr); - port = options->HttpsProxyPort; + tor_addr_copy(&addr, &options->HTTPSProxyAddr); + port = options->HTTPSProxyPort; } else if (options->Socks4Proxy) { using_proxy = 1; tor_addr_copy(&addr, &options->Socks4ProxyAddr); |