From 70adbe35e19ce7d1470f3d2ab192abbb04ec9c93 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 20 Apr 2004 18:31:09 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3276 --- client/win/wingui_proxydlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/win/wingui_proxydlg.cpp b/client/win/wingui_proxydlg.cpp index 1f295de17e..b32bb79922 100644 --- a/client/win/wingui_proxydlg.cpp +++ b/client/win/wingui_proxydlg.cpp @@ -167,11 +167,11 @@ void CProxyServerDlg::OnOK() { 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)); 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)); gstate.pi.socks_server_port = m_uiSOCKSProxyServerPort; safe_strncpy(gstate.pi.socks5_user_name, m_strSOCKSProxyServerUsername.GetBuffer(), sizeof(gstate.pi.socks5_user_name));