mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3276
This commit is contained in:
parent
cd0205a752
commit
70adbe35e1
|
@ -167,11 +167,11 @@ void CProxyServerDlg::OnOK()
|
||||||
{
|
{
|
||||||
UpdateData(TRUE);
|
UpdateData(TRUE);
|
||||||
|
|
||||||
gstate.pi.use_http_proxy = (m_UseHTTPProxyServerCtrl.GetCheck() != 0);
|
gstate.pi.use_http_proxy = (m_UseHTTPProxyServerCtrl.GetCheck() != BST_UNCHECKED);
|
||||||
safe_strncpy(gstate.pi.http_server_name, m_strHTTPProxyServerAddress.GetBuffer(), sizeof(gstate.pi.http_server_name));
|
safe_strncpy(gstate.pi.http_server_name, m_strHTTPProxyServerAddress.GetBuffer(), sizeof(gstate.pi.http_server_name));
|
||||||
gstate.pi.http_server_port = m_uiHTTPProxyServerPort;
|
gstate.pi.http_server_port = m_uiHTTPProxyServerPort;
|
||||||
|
|
||||||
gstate.pi.use_socks_proxy = (m_UseSOCKSProxyServerCtrl.GetCheck() != 0);
|
gstate.pi.use_socks_proxy = (m_UseSOCKSProxyServerCtrl.GetCheck() != BST_UNCHECKED);
|
||||||
safe_strncpy(gstate.pi.socks_server_name, m_strSOCKSProxyServerAddress.GetBuffer(), sizeof(gstate.pi.socks_server_name));
|
safe_strncpy(gstate.pi.socks_server_name, m_strSOCKSProxyServerAddress.GetBuffer(), sizeof(gstate.pi.socks_server_name));
|
||||||
gstate.pi.socks_server_port = m_uiSOCKSProxyServerPort;
|
gstate.pi.socks_server_port = m_uiSOCKSProxyServerPort;
|
||||||
safe_strncpy(gstate.pi.socks5_user_name, m_strSOCKSProxyServerUsername.GetBuffer(), sizeof(gstate.pi.socks5_user_name));
|
safe_strncpy(gstate.pi.socks5_user_name, m_strSOCKSProxyServerUsername.GetBuffer(), sizeof(gstate.pi.socks5_user_name));
|
||||||
|
|
Loading…
Reference in New Issue