summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2011-06-21 17:09:12 -0400
committerLogan Dethrow <log@lindenlab.com>2011-06-21 17:09:12 -0400
commit20100ba38c6d3fa16ab11be2ed326ab0964c4c21 (patch)
tree6f249a693990463fc7e057f29a106db6e20bb691 /indra/newview/llstartup.cpp
parent6ce2c20a06e32825f4e4260575059a9867510ecd (diff)
Refactored SOCKS 5 handshake to use existing LLSocket class.
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r--indra/newview/llstartup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index 6d94a5454e..c2f0ca164b 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -2770,18 +2770,18 @@ bool LLStartUp::handleSocksProxy(bool reportOK)
LLHost httpHost;
httpHost.setHostByName(gSavedSettings.getString("BrowserProxyAddress"));
httpHost.setPort(gSavedSettings.getS32("BrowserProxyPort"));
- LLSocks::getInstance()->enableHttpProxy(httpHost,LLPROXY_HTTP);
+ LLSocks::getInstance()->enableHTTPProxy(httpHost,LLPROXY_HTTP);
}
else if ((httpProxyType.compare("Socks") == 0) && gSavedSettings.getBOOL("Socks5ProxyEnabled"))
{
LLHost httpHost;
httpHost.setHostByName(gSavedSettings.getString("Socks5ProxyHost"));
httpHost.setPort(gSavedSettings.getU32("Socks5ProxyPort"));
- LLSocks::getInstance()->enableHttpProxy(httpHost,LLPROXY_SOCKS);
+ LLSocks::getInstance()->enableHTTPProxy(httpHost,LLPROXY_SOCKS);
}
else
{
- LLSocks::getInstance()->disableHttpProxy();
+ LLSocks::getInstance()->disableHTTPProxy();
}
bool use_socks_proxy = gSavedSettings.getBOOL("Socks5ProxyEnabled");